switched to new facts-syntax
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
loop:
|
||||
- { regex: "^root=.*$", line: "root=rene@tantooine.myfirewall.org"}
|
||||
- { regex: "^mailhub=.*", line: "mailhub=mail.universe.local"}
|
||||
- { regex: "^hostname=.*", line: "hostname={{ ansible_fqdn }}"}
|
||||
when: ansible_distribution in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint"]
|
||||
- { regex: "^hostname=.*", line: "hostname={{ ansible_facts['fqdn'] }}"}
|
||||
when: ansible_facts['distribution'] in ["Debian", "Pop!_OS", "Ubuntu", "Linux Mint"]
|
||||
- name: server | utilities | remove postfix
|
||||
package:
|
||||
name:
|
||||
|
||||
Reference in New Issue
Block a user