1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #94 from wgjohnson/master

Change the 'name' value for Playbook's variable example
This commit is contained in:
Michael DeHaan 2012-05-03 19:12:02 -07:00
commit 2f04126ea8
2 changed files with 2 additions and 6 deletions

View file

@ -184,7 +184,7 @@ All parameters available to the file module are also available when running the
*dest*:
* absolute path to a file on the filesystem.
* alias for 'path'. Sets an absolute path to a file on the filesystem when used with 'state=file'. When used with 'state=link', sets the destination to create a symbolic link defined by 'src' key.
*state*:
@ -206,10 +206,6 @@ All parameters available to the file module are also available when running the
* path of the file to link to (applies only to 'link' state)
*dest*:
* location where the symlink will be created for 'link' state, also an alias for 'path'.
*seuser*:
* 'user' part of SELinux file context. Will default to what is provided by system policy, if available. Only used on systems with SELinux present. If you specify '_default', it will use the 'user' portion of default context from the policy if available.

View file

@ -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.