diff options
author | Michael DeHaan <michael.dehaan@gmail.com> | 2012-02-28 03:13:44 +0100 |
---|---|---|
committer | Michael DeHaan <michael.dehaan@gmail.com> | 2012-02-28 03:13:44 +0100 |
commit | 757574ee035dbf4a32eb428c4ac0731a94a818b4 (patch) | |
tree | e9caee068c354db3684e765f858bc4770867cc8b /README.md | |
parent | Further README tweaks (diff) | |
download | ansible-757574ee035dbf4a32eb428c4ac0731a94a818b4.tar.xz ansible-757574ee035dbf4a32eb428c4ac0731a94a818b4.zip |
Make templating example make more sense
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -88,9 +88,9 @@ Templating JSON files can be placed for template metadata using Jinja2. Variables placed by 'setup' can be reused between ansible runs. - * ansible -p "*" -n setup -a "ntp_server=192.168.1.1" + * ansible -p "*" -n setup -a "favcolor=red ntp_server=192.168.1.1" * ansible -p "*" -n template /srv/motd.j2 /etc/motd - * ansible -p "*" -n template /srv/foo.j2 /etc/foo + * ansible -p "*" -n template /srv/ntp.j2 /etc/ntp.conf Very soon, templates will be able to also include facter and ohai variables. |