d
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
|
||||||
- name: get user
|
|
||||||
become: true
|
become: true
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
become_user: root
|
become_user: root
|
||||||
|
tasks:
|
||||||
|
- name: get user
|
||||||
# uses_shell: true
|
# uses_shell: true
|
||||||
ansible.builtin.shell: whoami
|
ansible.builtin.shell: whoami
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user