r
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
tasks:
|
||||
- name: get user
|
||||
become: yes
|
||||
become_method: sudo
|
||||
become_user: root
|
||||
ansible.builtin.command: whoami
|
||||
|
||||
# - name: Run whoami without become.
|
||||
|
||||
Reference in New Issue
Block a user