mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
modules: fix examples to use FQCN (#644)
* modules: fix examples to use FQCN * fix * fix * fix
This commit is contained in:
parent
8b92e0454d
commit
41cfdda6a3
533 changed files with 2130 additions and 2130 deletions
|
@ -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
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue