diff options
author | Fabio Alessandro Locati <me@fale.io> | 2016-12-01 16:39:40 +0000 |
---|---|---|
committer | John R Barker <john@johnrbarker.com> | 2016-12-01 16:39:40 +0000 |
commit | 0a6081a89f800f19400432c3f1f6dd7a2cb86ece (patch) | |
tree | 840d6d1d693ff04cd56935d45a50c0237ab69355 /cloud | |
parent | 270a7d905266213eb029d7e9878bb3384d856025 (diff) | |
download | ansible-modules-extras-0a6081a89f800f19400432c3f1f6dd7a2cb86ece.tar.gz |
Cloud lxc (#3611)
* Native YAML - cloud/lxc
* debug var uses naked vars
Diffstat (limited to 'cloud')
-rw-r--r-- | cloud/lxc/lxc_container.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cloud/lxc/lxc_container.py b/cloud/lxc/lxc_container.py index 22c72f43..d83be951 100644 --- a/cloud/lxc/lxc_container.py +++ b/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 |