Skip to content

Commit 0facbc7

Browse files
authored
Merge pull request #448 from sur5r/broken-conditionals
Fix conditionals for Ansible 2.19
2 parents 731befd + 3319537 commit 0facbc7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

roles/unattended_upgrades/tasks/systemd_timers.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
state: 'directory'
2727
owner: 'root'
2828
group: 'root'
29-
register: '_apt_daily_timer_d'
3029

3130
- name: 'Ensure directory apt-daily-upgrade.timer.d exists'
3231
ansible.builtin.file:
@@ -35,7 +34,6 @@
3534
state: 'directory'
3635
owner: 'root'
3736
group: 'root'
38-
register: '_apt_daily_upgrade_timer_d'
3937

4038
- name: 'Deploy apt-daily timer'
4139
ansible.builtin.template:
@@ -46,7 +44,6 @@
4644
group: 'root'
4745
when:
4846
- '_apt_daily.rc == 0'
49-
- '_apt_daily_timer_d' # skip if run for the first time in check mode
5047
notify:
5148
- 'Restart apt-daily timer'
5249

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

0 commit comments

Comments
 (0)