Skip to content

Commit

Permalink
Update selective file sources example
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael DeHaan committed May 5, 2013
1 parent ae810d3 commit 4d8734f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/playbooks/selective_file_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d8734f

Please sign in to comment.