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

Don't use template syntax in non-templates, it's not the default anymore

This commit is contained in:
Michael DeHaan 2012-05-08 00:09:04 -04:00
parent cb6f0f4284
commit 9bb8e8e36d
2 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@
# we could also have done something like: # we could also have done something like:
# - include: wordpress.yml user=timmy # - include: wordpress.yml user=timmy
# and had access to the template variable {{ user }} in the # and had access to the template variable $user in the
# included file, if we wanted to. Variables from vars # included file, if we wanted to. Variables from vars
# and vars_files are also available inside include files # and vars_files are also available inside include files

View file

@ -13,13 +13,13 @@
first_available_file: first_available_file:
# first see if we have a file for this specific host # 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 # 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 # 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 # finally give up and just use something generic
- /srv/whatever/default - /srv/whatever/default