cloud_init_data_facts – Retrieve facts of cloud-init¶
New in version 2.6.
Notes¶
Note
- See http://cloudinit.readthedocs.io/ for more information about cloud-init.
Examples¶
- name: Gather all facts of cloud init
  cloud_init_data_facts:
  register: result
- debug:
    var: result
- name: Wait for cloud init to finish
  cloud_init_data_facts:
    filter: status
  register: res
  until: "res.cloud_init_data_facts.status.v1.stage is defined and not res.cloud_init_data_facts.status.v1.stage"
  retries: 50
  delay: 5
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- René Moser (@resmo)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.
