Fix paths to main.cf in postfix_basic.yml

See https://fedorahosted.org/fedora-infrastructure/ticket/4689
This commit is contained in:
Mikolaj Izdebski 2015-03-19 08:56:59 +01:00 committed by Kevin Fenzi
parent 7c7f57271a
commit 58212b54f3

View file

@ -8,10 +8,10 @@
action: copy src={{ item }} dest=/etc/postfix/main.cf
with_first_found:
- "{{ postfix_maincf }}"
- "{{ 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/main.cf.{{ ansible_fqdn }}"
- "{{ roles }}/base/files/postfix/main.cf/main.cf.{{ inventory_hostname }}"
- "{{ roles }}/base/files/postfix/main.cf/main.cf.{{ host_group }}"
- "{{ roles }}/base/files/postfix/main.cf/main.cf.{{ postfix_group }}"
- "{{ roles }}/base/files/postfix/main.cf/main.cf"
notify:
- restart postfix