mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -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: Create config foo (from a file on the control machine)
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
# If the file is JSON or binary, Ansible might modify it (because
|
||||
# it is first decoded and later re-encoded). Base64-encoding the
|
||||
|
@ -85,7 +85,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
|
||||
- name: Change the config data
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
data: Goodnight everyone!
|
||||
labels:
|
||||
|
@ -94,7 +94,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
|
||||
- name: Add a new label
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
data: Goodnight everyone!
|
||||
labels:
|
||||
|
@ -105,7 +105,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
|
||||
- name: No change
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
data: Goodnight everyone!
|
||||
labels:
|
||||
|
@ -115,7 +115,7 @@ EXAMPLES = '''
|
|||
state: present
|
||||
|
||||
- name: Update an existing label
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
data: Goodnight everyone!
|
||||
labels:
|
||||
|
@ -124,14 +124,14 @@ EXAMPLES = '''
|
|||
state: present
|
||||
|
||||
- name: Force the (re-)creation of the config
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
data: Goodnight everyone!
|
||||
force: yes
|
||||
state: present
|
||||
|
||||
- name: Remove config foo
|
||||
docker_config:
|
||||
community.general.docker_config:
|
||||
name: foo
|
||||
state: absent
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue