Commit dfd671d6 by Wes Johnson

change 'name' to a better description for variable example.

'make a directory' is a bad description, since the command "template …"
doesn't actually create a directory.
parent 5954a7d8
...@@ -171,7 +171,7 @@ Variables can be used in action lines. Suppose you defined ...@@ -171,7 +171,7 @@ Variables can be used in action lines. Suppose you defined
a variable called 'vhost' in the 'vars' section, you could do this:: a variable called 'vhost' in the 'vars' section, you could do this::
tasks: tasks:
- name: make a directory - name: create a virtual host file for $vhost
action: template src=somefile.j2 dest=/etc/httpd/conf.d/$vhost action: template src=somefile.j2 dest=/etc/httpd/conf.d/$vhost
Those same variables are usable in templates, which we'll get to later. Those same variables are usable in templates, which we'll get to later.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment