[ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-25 Thread Ned Studious
Thank you Tom. I'll give this a try later today. I had to step away from this for a minute to work on an issue that pays. I'll have some cycles later today to give this a spin. On Saturday, April 22, 2017 at 1:29:14 PM UTC-4, Tom Melendez wrote: > > Hi Ned, > > For clarity and posterity, this

[ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-22 Thread Tom Melendez
Hi Ned, For clarity and posterity, this is the compute API that needs to be (also, billing must be enabled). If you were using this previously then it's probably a non-issue. Usage of the UI and gcloud do

Re: [ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-21 Thread Ned Studious
Great call out. On Friday, April 21, 2017 at 4:00:36 PM UTC-4, Kai Stian Olstad wrote: > > On 21. april 2017 21:07, Ned Studious wrote: > > Anyone have an archived copy of the file referenced in the > > gce.ini? ansible/test/gce_tests.py may contain the instructions needed > to > > make this

Re: [ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-21 Thread Kai Stian Olstad
On 21. april 2017 21:07, Ned Studious wrote: Anyone have an archived copy of the file referenced in the gce.ini? ansible/test/gce_tests.py may contain the instructions needed to make this work. Git has all the history, even deleted files, you should be able to get the information with the fol

[ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-21 Thread Ned Studious
Compute Instance API enabled? Yes, I'm able to confirm via UI and gcloud commands work on this instance. (If you're running on a GCE VM) the scopes of the VM/Role permissions of the service account Originally I only had this service account setup for all compute engine roles, but I've elevated

[ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-21 Thread Tom Melendez
Hi Ned, Sorry to hear that you're having issues with the dynamic inventory. First things to confirm: * Compute Instance API enabled? * (If you're running on a GCE VM) the scopes of the VM/Role permissions of the service account * Versions of ansible and libcloud (various bugs have been fixed,

[ansible-project] Re: Trouble with Dynamic Inventory (gce.py), please help

2017-04-21 Thread Ned Studious
>From the gce.ini: # The GCE inventory script has the following dependencies: # 1. A valid Google Cloud Platform account with Google Compute Engine # enabled. See https://cloud.google.com # 2. An OAuth2 Service Account flow should be enabled. This will generate # a private key file