Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions roles/unattended_upgrades/tasks/systemd_timers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
state: 'directory'
owner: 'root'
group: 'root'
register: '_apt_daily_timer_d'

- name: 'Ensure directory apt-daily-upgrade.timer.d exists'
ansible.builtin.file:
Expand All @@ -35,7 +34,6 @@
state: 'directory'
owner: 'root'
group: 'root'
register: '_apt_daily_upgrade_timer_d'

- name: 'Deploy apt-daily timer'
ansible.builtin.template:
Expand All @@ -46,7 +44,6 @@
group: 'root'
when:
- '_apt_daily.rc == 0'
- '_apt_daily_timer_d' # skip if run for the first time in check mode
notify:
- 'Restart apt-daily timer'

Expand All @@ -59,7 +56,6 @@
group: 'root'
when:
- '_apt_daily_upgrade.rc == 0'
- '_apt_daily_upgrade_timer_d' # skip if run for the first time in check mode
notify:
- 'Restart apt-daily-upgrade timer'
...