Skip to content

Ansible module to gather Google Cloud instance metadata and return it as facts

License

Notifications You must be signed in to change notification settings

br0ziliy/ansible-module-gce-facts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-module-gce-facts

Ansible module to gather Google Cloud instance metadata and return it as facts. Until this module accepted by Ansible upstream, read on for usage instructions.

Installation and usage

Clone this repository somewhere (/full/path/to/ansible-module-gce-facts in the examples below), and run Ansible with --modules-dir parameter:

# git clone https://github.com/br0ziliy/ansible-module-gce-facts.git /full/path/to/ansible-module-gce-facts
# ansible --modules-dir=/full/path/to/ansible-module-gce-facts -m gce_facts all
# ansible-playbook --modules-dir=/full/path/to/ansible-module-gce-facts playbook.yml

Alternatively you can export ANSIBLE_LIBRARY environment variable and run Ansible as usual:

# export ANSIBLE_LIBRARY=${ANSIBLE_LIBRARY}:/full/path/to/ansible-module-gce-facts

About

Ansible module to gather Google Cloud instance metadata and return it as facts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages