From 9d1fa6f2ab8163c672c490697d157f060fccfe40 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Wed, 29 May 2013 22:15:50 +0000 Subject: [PATCH] how did this EVER work? --- tasks/base.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tasks/base.yml b/tasks/base.yml index fce1a20098..db3e869f45 100644 --- a/tasks/base.yml +++ b/tasks/base.yml @@ -109,19 +109,19 @@ # XXX fixme # a datacenter 'fact' from setup - name: /etc/resolv.conf - action: copy src=$resolvconf dest=/etc/resolv.conf + action: copy src=$item dest=/etc/resolv.conf with_first_found: - - $resolvconf - - $files/resolv.conf/${ansible_fqdn} - - $files/resolv.conf/${host_group} - - $files/resolv.conf/${datacenter} - - $files/resolv.conf/resolv.conf + - ${resolvconf} + - $files/resolv.conf/${ansible_fqdn} + - $files/resolv.conf/${host_group} + - $files/resolv.conf/${datacenter} + - $files/resolv.conf/resolv.conf tags: - config - resolvconf - name: rsyslog.conf - action: copy src=$rsyslogconf dest=/etc/rsyslog.conf mode=644 + action: copy src=$item dest=/etc/rsyslog.conf mode=644 with_first_found: - $rsyslogconf - $files/rsyslog/rsyslog.conf.${ansible_fqdn}