diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-05-05 19:45:39 +0200 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-05-05 19:45:39 +0200 |
commit | 4d8734f30c0ef701eaf0bb10646d07b945e35626 (patch) | |
tree | b1130208089c216975b86eea21f0c94604aea5d6 /examples | |
parent | update role example (diff) | |
download | ansible-4d8734f30c0ef701eaf0bb10646d07b945e35626.tar.xz ansible-4d8734f30c0ef701eaf0bb10646d07b945e35626.zip |
Update selective file sources example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/playbooks/selective_file_sources.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/playbooks/selective_file_sources.yml b/examples/playbooks/selective_file_sources.yml index 192c4c1915..f31be1019d 100644 --- a/examples/playbooks/selective_file_sources.yml +++ b/examples/playbooks/selective_file_sources.yml @@ -13,13 +13,13 @@ first_available_file: # first see if we have a file for this specific host - - /srv/whatever/${ansible_hostname}.conf + - /srv/whatever/{{ansible_hostname}}.conf # next try to load something like CentOS6.2.conf - - /srv/whatever/${ansible_distribution}${ansible_distribution_version}.conf + - /srv/whatever/{{ansible_distribution}}{{ansible_distribution_version}}.conf # next see if there's a CentOS.conf - - /srv/whatever/${ansible_distribution}.conf + - /srv/whatever/{{ansible_distribution}}.conf # finally give up and just use something generic - /srv/whatever/default |