* Native YAML - cloud/lxc

* debug var uses naked vars
pull/18777/head
Fabio Alessandro Locati 8 years ago committed by Matt Clay
parent 1e9333f822
commit 00eb0d27d9

@ -268,7 +268,8 @@ EXAMPLES = """
register: lvm_container_info register: lvm_container_info
- name: Debug info on container "test-container-lvm" - 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. - name: Run a command in a container and ensure its in a "stopped" state.
lxc_container: lxc_container:
@ -334,7 +335,8 @@ EXAMPLES = """
register: clone_container_info register: clone_container_info
- name: debug info on container "test-container" - name: debug info on container "test-container"
debug: var=clone_container_info debug:
var: clone_container_info
- name: Clone a container using snapshot - name: Clone a container using snapshot
lxc_container: lxc_container:
@ -364,7 +366,7 @@ EXAMPLES = """
- name: Destroy a container - name: Destroy a container
lxc_container: lxc_container:
name: "{{ item }}" name: '{{ item }}'
state: absent state: absent
with_items: with_items:
- test-container-stopped - test-container-stopped

Loading…
Cancel
Save