mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix handlers, roles, and tasks to be handlers_path, roles_path and tasks_path so as not to conflict with ansible variables.
Fix duplicate definition of become default that was in group_vars/all as well as vars/global.
This commit is contained in:
@@ -8,11 +8,11 @@
|
||||
copy: src={{ item }} dest=/etc/postfix/main.cf
|
||||
with_first_found:
|
||||
- "{{ postfix_maincf }}"
|
||||
- "{{ 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"
|
||||
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ ansible_fqdn }}"
|
||||
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ inventory_hostname }}"
|
||||
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ host_group }}"
|
||||
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf.{{ postfix_group }}"
|
||||
- "{{ roles_path }}/base/files/postfix/main.cf/main.cf"
|
||||
notify:
|
||||
- restart postfix
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user