mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
Fix old variable usage. Patch from janeznemanic. Thanks!
This commit is contained in:
@@ -5,14 +5,14 @@
|
||||
- packages
|
||||
|
||||
- name: /etc/postfix/main.cf
|
||||
action: copy src=$item dest=/etc/postfix/main.cf
|
||||
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
|
||||
- "{{ 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"
|
||||
notify:
|
||||
- restart postfix
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user