--- - hosts: all tasks: # deinstalliere andere ntp-implementationen - name: removed chrony/ntp packages become: yes ansible.builtin.package: name: - chrony - ntp state: absent - name: remove chrony config become: yes ansible.builtin.file: dest: /etc/chrony/chrony.conf state: absent - name: remove logrotate config become: yes ansible.builtin.file: dest: /etc/logrotate.d/chrony state: absent - name: remove chrony driftfile folder become: yes file: state: absent path: /var/lib/chrony