switched to new facts-syntax
This commit is contained in:
1 parent
037b998219
commit
9fd07d57a4
41 files changed
+111
-109
No files matched your search
@@ -13,7 +13,7 @@
|
||||
group: "root"
|
||||
mode: "0660"
|
||||
validate: "{{ commands.visudo }} -cf %s"
|
||||
when: ansible_distribution in ["Debian", "Ubuntu", "Linux Mint"]
|
||||
when: ansible_facts['distribution'] in ["Debian", "Ubuntu", "Linux Mint"]
|
||||
|
||||
- name: server | snmpd | create /etc/snmp
|
||||
ansible.builtin.file:
|
||||
|
||||
Reference in new issue
Block a user