mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
@@ -66,7 +66,7 @@ author:
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Gather facts about all images
|
||||
one_image_info:
|
||||
community.general.one_image_info:
|
||||
register: result
|
||||
|
||||
- name: Print all images facts
|
||||
@@ -74,22 +74,22 @@ EXAMPLES = '''
|
||||
msg: result
|
||||
|
||||
- name: Gather facts about an image using ID
|
||||
one_image_info:
|
||||
community.general.one_image_info:
|
||||
ids:
|
||||
- 123
|
||||
|
||||
- name: Gather facts about an image using the name
|
||||
one_image_info:
|
||||
community.general.one_image_info:
|
||||
name: 'foo-image'
|
||||
register: foo_image
|
||||
|
||||
- name: Gather facts about all IMAGEs whose name matches regex 'app-image-.*'
|
||||
one_image_info:
|
||||
community.general.one_image_info:
|
||||
name: '~app-image-.*'
|
||||
register: app_images
|
||||
|
||||
- name: Gather facts about all IMAGEs whose name matches regex 'foo-image-.*' ignoring cases
|
||||
one_image_info:
|
||||
community.general.one_image_info:
|
||||
name: '~*foo-image-.*'
|
||||
register: foo_images
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user