Skip to content

Commit

Permalink
Unmask and start services
Browse files Browse the repository at this point in the history
Based on feedback from @kushaldas, in some conditions the apt-daily and
apt-daily upgrade would be masked and stopped after install. This should
ensure the services are properly unmasked and started after install.
  • Loading branch information
emkll committed Feb 1, 2021
1 parent 05b2106 commit dc72c7d
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,16 @@
tags:
- apt
- unattended-upgrades

- name: Ensure apt-daily and apt-daily-upgrade services are unmasked, started, and enabled.
systemd:
name: "{{ item }}"
state: started
enabled: yes
masked: no
with_items:
- 'apt-daily'
- 'apt-daily-timer'
tags:
- apt
- unattended-upgrades

0 comments on commit dc72c7d

Please sign in to comment.