Skip to content

Commit 103be20

Browse files
Remove register
1 parent cadceff commit 103be20

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tasks/smart_reboot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
changed_when: "item in update_result_apt.stdout"
66
when: ansible_pkg_mgr == "apt" and item in update_result_apt.stdout
77
with_items: "{{ smart_reboot_pkg }}"
8-
register: smart_result
98
notify: reboot
109

1110
- name: Check updated packages for smart reboot (YUM)
@@ -14,7 +13,6 @@
1413
changed_when: "item in update_result_yum.results|string"
1514
when: ansible_pkg_mgr == "yum" and item in update_result_yum.results|string
1615
with_items: "{{ smart_reboot_pkg }}"
17-
register: smart_result
1816
notify: reboot
1917

2018
- name: Check updated packages for smart reboot (DNF)
@@ -23,7 +21,6 @@
2321
changed_when: "item in update_result_dnf.results|string"
2422
when: ansible_pkg_mgr == "dnf" and item in update_result_dnf.results|string
2523
with_items: "{{ smart_reboot_pkg }}"
26-
register: smart_result
2724
notify: reboot
2825

2926
- meta: flush_handlers

0 commit comments

Comments
 (0)