Disabling removal of notification of system upgrade.
This commit is contained in:
parent
36ce4921c9
commit
1a3df4e77c
11
roles/domain/tasks/disable-upgrade-notifications.yml
Normal file
11
roles/domain/tasks/disable-upgrade-notifications.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: Checking for upgrade-notification configuration
|
||||||
|
stat:
|
||||||
|
path: /usr/share/upstart/sessions/update-notifier-release.conf
|
||||||
|
register: update_notifier_release_stat
|
||||||
|
ignore_errors: yes
|
||||||
|
|
||||||
|
- name: Removing notifications for system upgrade
|
||||||
|
shell: mv /usr/share/upstart/sessions/update-notifier-release.conf /usr/share/upstart/sessions/update-notifier-release.conf.disabled
|
||||||
|
when: update_notifier_release_stat|success
|
@ -9,3 +9,6 @@
|
|||||||
|
|
||||||
- include: policykit-1.yml
|
- include: policykit-1.yml
|
||||||
tags: policykit
|
tags: policykit
|
||||||
|
|
||||||
|
- include: disable-upgrade-notifications.yml
|
||||||
|
tags: disable-upgrade-notifications
|
||||||
|
Loading…
x
Reference in New Issue
Block a user