From 4d8734f30c0ef701eaf0bb10646d07b945e35626 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sun, 5 May 2013 13:45:39 -0400 Subject: [PATCH] Update selective file sources example --- examples/playbooks/selective_file_sources.yml | 6 +++--- 1 file 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