Fix old variable usage. Patch from janeznemanic. Thanks!

This commit is contained in:
Kevin Fenzi
2014-01-01 19:15:11 +00:00
parent d011bbde2c
commit f7d56ff2b1
98 changed files with 886 additions and 889 deletions

View File

@@ -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: