ngine_io.cloudstack.cs_facts – Gather facts on instances of Apache CloudStack based clouds.¶
Note
This plugin is part of the ngine_io.cloudstack collection (version 2.1.0).
To install it use: ansible-galaxy collection install ngine_io.cloudstack
.
To use it in a playbook, specify: ngine_io.cloudstack.cs_facts
.
New in version 0.1.0: of ngine_io.cloudstack
Synopsis¶
This module fetches data from the metadata API in CloudStack. The module must be called from within the instance itself.
Parameters¶
Examples¶
# Gather all facts on instances
- name: Gather cloudstack facts
ngine_io.cloudstack.cs_facts:
# Gather specific fact on instances
- name: Gather cloudstack facts
ngine_io.cloudstack.cs_facts: filter=cloudstack_instance_id
# Gather specific fact on instances with a given meta_data_host
- name: Gather cloudstack facts
ngine_io.cloudstack.cs_facts:
filter: cloudstack_instance_id
meta_data_host: 169.254.169.254
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
René Moser (@resmo)