w
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
tasks:
|
||||||
- name: get user
|
- name: get user
|
||||||
become: yes
|
become: true
|
||||||
become_method: sudo
|
become_method: sudo
|
||||||
become_user: root
|
become_user: root
|
||||||
ansible.builtin.command: whoami
|
ansible.builtin.command: whoami
|
||||||
|
|||||||
Reference in New Issue
Block a user