]> git.phdru.name Git - ansible.git/commitdiff
Fix(adjtimex): Remove `ntpd` installed as a dependency
authorOleg Broytman <phd@phdru.name>
Tue, 8 Mar 2022 19:58:00 +0000 (22:58 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 9 Mar 2022 11:54:27 +0000 (14:54 +0300)
playbooks/roles/adjtimex/tasks/main.yml

index ba1f74452df70f6d3b76e2840a3356d7317eaad6..3f0201a886e975f9fee6c58b49febea6dbb303a5 100644 (file)
     update_cache: yes
   when: ansible_facts.os_family == 'Debian'
 
+- name: Remove ntpd
+  become: true
+  apt:
+    name: ntp
+    state: absent
+    update_cache: no
+  when: ansible_facts.os_family == 'Debian'
+
 - name: Install adjtimex and ntpdate
   become: true
   dnf: