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