|
|
|
@ -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
|
|
|
|
|