From 00eb0d27d9f68d94afffa8158275e143d90e1543 Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Thu, 1 Dec 2016 16:39:40 +0000 Subject: [PATCH] Cloud lxc (#3611) * Native YAML - cloud/lxc * debug var uses naked vars --- lib/ansible/modules/extras/cloud/lxc/lxc_container.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py index 22c72f43447..d83be951536 100644 --- a/lib/ansible/modules/extras/cloud/lxc/lxc_container.py +++ b/lib/ansible/modules/extras/cloud/lxc/lxc_container.py @@ -268,7 +268,8 @@ EXAMPLES = """ register: lvm_container_info - name: Debug info on container "test-container-lvm" - debug: var=lvm_container_info + debug: + var: lvm_container_info - name: Run a command in a container and ensure its in a "stopped" state. lxc_container: @@ -334,7 +335,8 @@ EXAMPLES = """ register: clone_container_info - name: debug info on container "test-container" - debug: var=clone_container_info + debug: + var: clone_container_info - name: Clone a container using snapshot lxc_container: @@ -364,7 +366,7 @@ EXAMPLES = """ - name: Destroy a container lxc_container: - name: "{{ item }}" + name: '{{ item }}' state: absent with_items: - test-container-stopped