mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Cloud lxc (#3611)
* Native YAML - cloud/lxc * debug var uses naked vars
This commit is contained in:
committed by
Matt Clay
parent
1e9333f822
commit
00eb0d27d9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user