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
|
||||
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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue