mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
We should merge this with base role or figure out a better way.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user