Skip to content
This repository has been archived by the owner on Jun 25, 2023. It is now read-only.

Commit

Permalink
Remove conditional failure for update-notifier-common
Browse files Browse the repository at this point in the history
Fixes #6
  • Loading branch information
jnv committed Jul 24, 2016
1 parent d156b5a commit 971bf81
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tasks/reboot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
# Ignored, since newer distros don't need this package
# https://github.com/jnv/ansible-role-unattended-upgrades/issues/6
- name: install update-notifier-common
apt: pkg=update-notifier-common state=present
register: install_reboot_dependency
ignore_errors: true

- name: abort if automatic reboot is unavailable
fail: msg="The unattended_automatic_reboot option was selected but the system has no means to reboot automatically"
when: install_reboot_dependency | failed

0 comments on commit 971bf81

Please sign in to comment.