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:
parent
87a32844b1
commit
0acfaa2a7e
207 changed files with 785 additions and 788 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue