Fix become issue
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
- name: Reboot the server (if required).
|
||||
ansible.builtin.reboot:
|
||||
when: reboot_required_file is defined and reboot_required_file.stat.exists
|
||||
become: true
|
||||
|
||||
- name: "Updating and Upgrading Yum Packages"
|
||||
yum:
|
||||
|
||||
Reference in New Issue
Block a user