Commit Graph

11 Commits (82246270368f6bb2e1a8c9aa8f91c6f965330660)

Author SHA1 Message Date
rncry 16f66a39a6 support instances with no public ip
default to private ip if the instance doesn't have a public ip assigned. (causes list index out of range error otherwise)
9 years ago
James Laska 1359bbee87 Fix traceback with using GCE on EL6 with python-crypto2.6
This fix resolves an issue on EL6 systems where there may be multiple versions
of pycrypto installed.  EPEL provides both `python-crypto` and
`python-crypto2.6`.  These packages are co-installable.  However, modules
importing the `Crypto` library must specify which version to use, otherwise the
default will be used.

This change follows the same pattern established in `bin/ansible` for
specifying python library requirements.
10 years ago
Michael Scherer 58dbf2446c Fix various inventory scripts to use env python
Fix https://github.com/ansible/ansible/issues/9948
10 years ago
James Cammarata e8f675003f Merge pull request #9336 from dpkirchner/devel
Added _meta hostvars key to gce.py plugin
10 years ago
szk.kentaro 36c75d6c5e Add --pretty option for gce inventory plugin 10 years ago
David Kirchner 959520115c Added _meta hostvars key to gce.py plugin per the discussion in issue #9291. 10 years ago
Luke Sneeringer f706eba4a5 Envirionment variable support in GCE inventory plugin. 10 years ago
Franck Cuny 6294264dc4 Add credential parameters to the GCE modules.
In order to simplify the workflow with the GCE modules, it's now
possible to add the parameters and project name as arguments to the
various GCE modules.

The inventory plugin also returns the IP of the host in
`ansible_ssh_host` so that you don't have to specify IPs into the
inventory file.

Some update to the documentation are also added.

Closes #5583.
11 years ago
Eric Johnson 8ff58eb46e fixes #4954 plus updates for gcutil/v1beta16 tests 11 years ago
Eric Johnson cfc249931a custom user-agent header 11 years ago
Eric Johnson 9ca824c16d adding Google Compute Engine modules and inventory plugin 11 years ago