Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit e02fde0

Browse files
committed
Update facts as tasks instead of handler.
1 parent 9525381 commit e02fde0

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

handlers/main.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tasks/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,9 @@
139139
when:
140140
- reboot_on_kernel_update | bool
141141
- (not (ansible_kernel | kernel_match(_kernel)) or reboot_flag.stat.exists)
142-
notify: 'Update facts'
142+
143+
- name: Update facts
144+
setup:
145+
when:
146+
- reboot_on_kernel_update | bool
147+
- (not (ansible_kernel | kernel_match(_kernel)) or reboot_flag.stat.exists)

0 commit comments

Comments
 (0)