added root user
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
- name: Reboot machine
|
- name: Reboot machine
|
||||||
hosts: "{{ Daily_Reboot_Hosts }}"
|
hosts: "{{ Daily_Reboot_Hosts }}"
|
||||||
become: yes
|
become: yes
|
||||||
|
become_user: root
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- name: Reboot machine
|
- name: Reboot machine
|
||||||
|
|||||||
Reference in New Issue
Block a user