mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 12:44:22 -07:00
Start of making docs use {{ format }}
This commit is contained in:
parent
63b4eea90b
commit
1365f0d6ab
3 changed files with 2 additions and 7 deletions
|
@ -43,7 +43,7 @@
|
||||||
action: yum pkg=ansible state=installed
|
action: yum pkg=ansible state=installed
|
||||||
|
|
||||||
- name: Create local directory to work from
|
- name: Create local directory to work from
|
||||||
action: file path=$workdir state=directory owner=root group=root mode=0751
|
action: file path={{workdir}} state=directory owner=root group=root mode=0751
|
||||||
|
|
||||||
- name: Copy ansible inventory file to client
|
- name: Copy ansible inventory file to client
|
||||||
action: copy src=/etc/ansible/hosts dest=/etc/ansible/hosts
|
action: copy src=/etc/ansible/hosts dest=/etc/ansible/hosts
|
||||||
|
|
|
@ -42,4 +42,4 @@
|
||||||
ClusterSize: 3
|
ClusterSize: 3
|
||||||
register: stack
|
register: stack
|
||||||
- name: show stack outputs
|
- name: show stack outputs
|
||||||
debug: msg="My stack outputs are ${stack.stack_outputs}"
|
debug: msg="My stack outputs are {{stack.stack_outputs}}"
|
||||||
|
|
|
@ -42,11 +42,6 @@
|
||||||
action: ping
|
action: ping
|
||||||
args: { data: $complex }
|
args: { data: $complex }
|
||||||
|
|
||||||
- name: or if you prefer... this is equivalent
|
|
||||||
action: ping
|
|
||||||
args:
|
|
||||||
data: $complex
|
|
||||||
|
|
||||||
- name: here is an example of how it works with defaults, notice the key=value format wins
|
- name: here is an example of how it works with defaults, notice the key=value format wins
|
||||||
action: service name=httpd state=running
|
action: service name=httpd state=running
|
||||||
args: $defaults
|
args: $defaults
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue