From 342a22a5a336b5784e7a53bbe365055e2e40eae6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 1 Jan 2014 20:54:28 +0000 Subject: [PATCH] We should merge this with base role or figure out a better way. --- tasks/postfix_basic.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tasks/postfix_basic.yml b/tasks/postfix_basic.yml index a5fb46052c..ba87102635 100644 --- a/tasks/postfix_basic.yml +++ b/tasks/postfix_basic.yml @@ -8,11 +8,11 @@ action: copy src={{ item }} dest=/etc/postfix/main.cf with_first_found: - "{{ postfix_maincf }}" - - "{{ files }}/postfix/main.cf.{{ ansible_fqdn }}" - - "{{ files }}/postfix/main.cf.{{ inventory_hostname }}" - - "{{ files }}/postfix/main.cf.{{ host_group }}" - - "{{ files }}/postfix/main.cf.{{ postfix_group }}" - - "{{ files }}/postfix/main.cf" + - "{{ roles }}/base/files/postfix/main.cf.{{ ansible_fqdn }}" + - "{{ roles }}/base/files/postfix/main.cf.{{ inventory_hostname }}" + - "{{ roles }}/base/files/postfix/main.cf.{{ host_group }}" + - "{{ roles }}/base/files/postfix/main.cf.{{ postfix_group }}" + - "{{ roles }}/base/files/postfix/main.cf" notify: - restart postfix tags: