We should merge this with base role or figure out a better way.
This commit is contained in:
parent
b25c32c5da
commit
342a22a5a3
1 changed files with 5 additions and 5 deletions
|
@ -8,11 +8,11 @@
|
||||||
action: copy src={{ item }} dest=/etc/postfix/main.cf
|
action: copy src={{ item }} dest=/etc/postfix/main.cf
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ postfix_maincf }}"
|
- "{{ postfix_maincf }}"
|
||||||
- "{{ files }}/postfix/main.cf.{{ ansible_fqdn }}"
|
- "{{ roles }}/base/files/postfix/main.cf.{{ ansible_fqdn }}"
|
||||||
- "{{ files }}/postfix/main.cf.{{ inventory_hostname }}"
|
- "{{ roles }}/base/files/postfix/main.cf.{{ inventory_hostname }}"
|
||||||
- "{{ files }}/postfix/main.cf.{{ host_group }}"
|
- "{{ roles }}/base/files/postfix/main.cf.{{ host_group }}"
|
||||||
- "{{ files }}/postfix/main.cf.{{ postfix_group }}"
|
- "{{ roles }}/base/files/postfix/main.cf.{{ postfix_group }}"
|
||||||
- "{{ files }}/postfix/main.cf"
|
- "{{ roles }}/base/files/postfix/main.cf"
|
||||||
notify:
|
notify:
|
||||||
- restart postfix
|
- restart postfix
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue