From: Oleg Broytman Date: Tue, 8 Mar 2022 19:58:00 +0000 (+0300) Subject: Fix(adjtimex): Remove `ntpd` installed as a dependency X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=f14342af9c59e90283dd8ffdda701419c88a6838;p=ansible.git Fix(adjtimex): Remove `ntpd` installed as a dependency --- diff --git a/playbooks/roles/adjtimex/tasks/main.yml b/playbooks/roles/adjtimex/tasks/main.yml index ba1f744..3f0201a 100644 --- a/playbooks/roles/adjtimex/tasks/main.yml +++ b/playbooks/roles/adjtimex/tasks/main.yml @@ -10,6 +10,14 @@ 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: