mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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.
This commit is contained in:
parent
5954a7d8cc
commit
dfd671d60e
1 changed files with 1 additions and 1 deletions
|
@ -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::
|
||||
|
||||
tasks:
|
||||
- name: make a directory
|
||||
- name: create a virtual host file for $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.
|
||||
|
|
Loading…
Reference in a new issue