Fix examples
This commit is contained in:
parent
95f5a3550a
commit
9a8d1253fa
1 changed files with 4 additions and 4 deletions
|
@ -70,19 +70,19 @@ EXAMPLES = """
|
||||||
- name: Create a started container
|
- name: Create a started container
|
||||||
lxd_container:
|
lxd_container:
|
||||||
name: cent01
|
name: cent01
|
||||||
source: { type: image, alias: centos/7/amd64 }
|
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||||
state: started
|
state: restarted
|
||||||
|
|
||||||
- name: Create a stopped container
|
- name: Create a stopped container
|
||||||
lxd_container:
|
lxd_container:
|
||||||
name: cent01
|
name: cent01
|
||||||
source: { type: image, alias: centos/7/amd64 }
|
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||||
state: stopped
|
state: stopped
|
||||||
|
|
||||||
- name: Restart a container
|
- name: Restart a container
|
||||||
lxd_container:
|
lxd_container:
|
||||||
name: cent01
|
name: cent01
|
||||||
source: { type: image, alias: centos/7/amd64 }
|
config: { source: { type: image, alias: centos/7/amd64 } }
|
||||||
state: restarted
|
state: restarted
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue