mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-10 20:00:18 +01:00
complex_args: update example for ansbile-1.7
$ is obsolete and fails to work with ansible-playbook 1.7 (devel 6bc056e012)
This commit is contained in:
parent
e893d916ab
commit
43518a93f5
1 changed files with 2 additions and 5 deletions
|
@ -40,11 +40,8 @@
|
||||||
|
|
||||||
- name: can we make that cleaner? sure!
|
- name: can we make that cleaner? sure!
|
||||||
action: ping
|
action: ping
|
||||||
args: { data: $complex }
|
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…
Reference in a new issue