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
@@ -3,14 +3,14 @@
|
||||
package:
|
||||
name: systemd-timesyncd
|
||||
state: latest
|
||||
when: ansible_distribution in ["Pop!_OS", "Ubuntu", "Linux Mint"]
|
||||
when: ansible_facts['distribution'] in ["Pop!_OS", "Ubuntu", "Linux Mint"]
|
||||
|
||||
- name: system setup | clock | install systemd-timesyncd (debian)
|
||||
tags: ntp, system setup
|
||||
apt:
|
||||
name: systemd-timesyncd
|
||||
state: latest
|
||||
when: ansible_distribution == "Debian"
|
||||
when: ansible_facts['distribution'] == "Debian"
|
||||
|
||||
- name: system setup | clock | start and enable systemd-timestampd
|
||||
tags: ntp,system setup
|
||||
|
||||
Reference in new issue
Block a user