mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 18:04:02 -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
|
@ -75,7 +75,7 @@ author:
|
|||
|
||||
EXAMPLES = '''
|
||||
- name: Fetch the IMAGE by id
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
id: 45
|
||||
register: result
|
||||
|
||||
|
@ -84,30 +84,30 @@ EXAMPLES = '''
|
|||
msg: result
|
||||
|
||||
- name: Rename existing IMAGE
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
id: 34
|
||||
state: renamed
|
||||
new_name: bar-image
|
||||
|
||||
- name: Disable the IMAGE by id
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
id: 37
|
||||
enabled: no
|
||||
|
||||
- name: Enable the IMAGE by name
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
name: bar-image
|
||||
enabled: yes
|
||||
|
||||
- name: Clone the IMAGE by name
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
name: bar-image
|
||||
state: cloned
|
||||
new_name: bar-image-clone
|
||||
register: result
|
||||
|
||||
- name: Delete the IMAGE by id
|
||||
one_image:
|
||||
community.general.one_image:
|
||||
id: '{{ result.id }}'
|
||||
state: absent
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue