summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-07-12 14:20:32 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-07-12 14:20:32 +0200
commita625df4e82152239f388c170e2c1720d865f124d (patch)
tree4e1c9acdd3deb02fabac9b0ece68d78872b01e02
parent442c134a5f4d47ce8b721b9ae4ddcb3c28737c78 (diff)
downloadplaybooks-ansible-a625df4e82152239f388c170e2c1720d865f124d.tar.gz
playbooks-ansible-a625df4e82152239f388c170e2c1720d865f124d.tar.xz
playbooks-ansible-a625df4e82152239f388c170e2c1720d865f124d.zip
Fix reboot scheduler task trigger using tags instead of notify
-rw-r--r--update.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/update.yml b/update.yml
index 9fe6b01..742b882 100644
--- a/update.yml
+++ b/update.yml
@@ -10,7 +10,6 @@
units: minutes
unique: yes
when: ansible_pkg_mgr == "yum"
- notify: reboot auto
- name: Mise à jour système avec dnf
at:
@@ -19,12 +18,11 @@
units: minutes
unique: yes
when: ansible_pkg_mgr == "dnf"
- notify: reboot auto
- handlers:
- name: reboot auto
at:
command: /usr/sbin/reboot
count: 1
units: hours
unique: yes
+ tags: reboot