This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: "Disable timers for unattended upgrade" | |
raw: "systemctl disable --now {{ item }}" | |
loop: | |
- 'apt-daily.timer' | |
- 'apt-daily-upgrade.timer' | |
changed_when: false | |
when: ansible_connection != 'docker' | |
- name: "Reload systemctl daemon to apply the new changes" | |
raw: "systemctl daemon-reload" |