mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix examples
This commit is contained in:
parent
a48354576e
commit
c538f4d7ca
1 changed files with 4 additions and 4 deletions
|
@ -70,19 +70,19 @@ EXAMPLES = """
|
|||
- name: Create a started container
|
||||
lxd_container:
|
||||
name: cent01
|
||||
source: { type: image, alias: centos/7/amd64 }
|
||||
state: started
|
||||
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||
state: restarted
|
||||
|
||||
- name: Create a stopped container
|
||||
lxd_container:
|
||||
name: cent01
|
||||
source: { type: image, alias: centos/7/amd64 }
|
||||
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||
state: stopped
|
||||
|
||||
- name: Restart a container
|
||||
lxd_container:
|
||||
name: cent01
|
||||
source: { type: image, alias: centos/7/amd64 }
|
||||
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||
state: restarted
|
||||
"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue