Commit 2f04126e by Michael DeHaan

Merge pull request #94 from wgjohnson/master

Change the 'name' value for Playbook's variable example
parents 1c5f5aca 77f33a70
...@@ -184,7 +184,7 @@ All parameters available to the file module are also available when running the ...@@ -184,7 +184,7 @@ All parameters available to the file module are also available when running the
*dest*: *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*: *state*:
...@@ -206,10 +206,6 @@ All parameters available to the file module are also available when running the ...@@ -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) * 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*: *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. * '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.
......
...@@ -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