one_image_info – Gather information on OpenNebula images¶
New in version 2.6.
Synopsis¶
- Gather information on OpenNebula images.
- This module was called
one_image_facts
before Ansible 2.9. The usage did not change.
Aliases: one_image_facts
Parameters¶
Examples¶
# Gather facts about all images
- one_image_info:
register: result
# Print all images facts
- debug:
msg: result
# Gather facts about an image using ID
- one_image_info:
ids:
- 123
# Gather facts about an image using the name
- one_image_info:
name: 'foo-image'
register: foo_image
# Gather facts about all IMAGEs whose name matches regex 'app-image-.*'
- one_image_info:
name: '~app-image-.*'
register: app_images
# Gather facts about all IMAGEs whose name matches regex 'foo-image-.*' ignoring cases
- one_image_info:
name: '~*foo-image-.*'
register: foo_images
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¶
- Milan Ilic (@ilicmilan)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.