From c538f4d7ca94ce0f6e24ceb67e0cdd49b5ff863a Mon Sep 17 00:00:00 2001 From: Hiroaki Nakamura Date: Thu, 12 May 2016 23:17:17 +0900 Subject: [PATCH] Fix examples --- lib/ansible/modules/extras/cloud/lxd/lxd_container.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py index 1232f88ef9..226e3bf253 100644 --- a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py +++ b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py @@ -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 """