We should merge this with base role or figure out a better way.

This commit is contained in:
Kevin Fenzi 2014-01-01 20:54:28 +00:00
parent b25c32c5da
commit 342a22a5a3

View file

@ -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: