switched to new facts-syntax
This commit is contained in:
@@ -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