Hi Jonathan, I could not identify a module to create VPC as well in this link https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#google. Am I missing something?
On Tue, 30 Oct 2018 at 23:16, Jonathan Lozada De La Matta < [email protected]> wrote: > Sorry, the project and service account > https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#google > > > On Tue, Oct 30, 2018 at 1:43 PM Somali Batra <[email protected]> > wrote: > >> You mean none of this can be achieved through Ansible - project, vpc, >> service account? >> >> On Tue, 30 Oct 2018 at 23:10, Jonathan Lozada De La Matta < >> [email protected]> wrote: >> >>> not at the moment as far as I know. >>> >>> On Tue, Oct 30, 2018 at 1:38 PM Somali Batra < >>> [email protected]> wrote: >>> >>>> Thank Steve. >>>> >>>> I understand a service account is required to provision resources on >>>> Google cloud. So now the question is, can that be automated as well? >>>> >>>> Meaning is it possible to do the following through Ansible on Google >>>> Cloud >>>> 1) create a project >>>> 2) create a service account >>>> 3) create a VPC >>>> 4) create a GCE VM instance (this definitely is possible using the gce >>>> module, can I also create a project, service account and vpc using any of >>>> the ansible modules?) >>>> >>>> >>>> >>>> On Tue, 30 Oct 2018 at 22:13, Stephen Granger <[email protected]> >>>> wrote: >>>> >>>>> Looking at another Infrastructure as code example >>>>> >>>>> >>>>> https://cloud.google.com/community/tutorials/managing-gcp-projects-with-terraform >>>>> >>>>> There seems to be some manual steps via the gcloud sdk to initially >>>>> get a service role to then provision resources within a project. >>>>> >>>>> This is not a perfect response to your question, just a quick reply to >>>>> perhaps put you on the right path. >>>>> >>>>> On Tue, 30 Oct 2018 at 04:17, <[email protected]> wrote: >>>>> >>>>>> I am new to Ansible. I have come across various articles showing how >>>>>> to provision resources like GCE in the Google cloud. But I want to >>>>>> automate >>>>>> the entire end to end flow and thus would start with automating the >>>>>> creation of Project and VPC in Google Cloud. >>>>>> >>>>>> Can someone help me identify module(s) using which this can be >>>>>> achieved? >>>>>> >>>>>> Thanks, >>>>>> Somali >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "Ansible Project" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> To post to this group, send email to [email protected] >>>>>> . >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/ansible-project/e93b2e00-b4e8-4079-bdd9-e4a4da5fe9c0%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/ansible-project/e93b2e00-b4e8-4079-bdd9-e4a4da5fe9c0%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> -- >>>>> Steve >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Ansible Project" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To post to this group, send email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/ansible-project/CA%2Bemtqub3nSE_8i%2BNx2MKxE3RA3vxQRswZSRFb6RGt6YkfYxYQ%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/ansible-project/CA%2Bemtqub3nSE_8i%2BNx2MKxE3RA3vxQRswZSRFb6RGt6YkfYxYQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> -- >>>> Regards, >>>> Somali >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ansible Project" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/ansible-project/CAHc9U_BnONPge%2BE4H92%2ByV_OA6LoH-_%2BOCS4kK7gLKhpxjg6YQ%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/ansible-project/CAHc9U_BnONPge%2BE4H92%2ByV_OA6LoH-_%2BOCS4kK7gLKhpxjg6YQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> -- >>> >>> Jonathan lozada de la matta >>> >>> AUTOMATION PRACTICE >>> >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ansible Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKsOfft-jbtkAoVx_huxLd1UcWw_pChrrO88ZB5GMdoig%40mail.gmail.com >>> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BKsOfft-jbtkAoVx_huxLd1UcWw_pChrrO88ZB5GMdoig%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> Regards, >> Somali >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/CAHc9U_B_DF8ROxHqUZ%3Dk93sEPn-dCd5FkdrTrbH9qsaqyBZUhg%40mail.gmail.com >> <https://groups.google.com/d/msgid/ansible-project/CAHc9U_B_DF8ROxHqUZ%3Dk93sEPn-dCd5FkdrTrbH9qsaqyBZUhg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Jonathan lozada de la matta > > AUTOMATION PRACTICE > > > > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJP2aC8yg40jE0Jr9WUoTPXT7XGhKGy3pYMY0KRWNnvNQ%40mail.gmail.com > <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BJP2aC8yg40jE0Jr9WUoTPXT7XGhKGy3pYMY0KRWNnvNQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Regards, Somali -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAHc9U_DAut6MrQEzRP0NrzL6LbznXCOrmqDX51m74v__QWj_5A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
