w
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
become: true
|
||||
become_method: sudo
|
||||
become_user: root
|
||||
ansible.builtin.command: whoami
|
||||
# uses_shell: true
|
||||
ansible.builtin.shell: whoami
|
||||
|
||||
|
||||
# - name: Run whoami without become.
|
||||
# command: whoami
|
||||
|
||||
Reference in New Issue
Block a user