mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix examples
This commit is contained in:
committed by
Matt Clay
parent
a48354576e
commit
c538f4d7ca
@@ -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
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user