mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Started implementing become in v2
This commit is contained in:
7
v2/samples/test_become.yml
Normal file
7
v2/samples/test_become.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- hosts: all
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- command: whoami
|
||||
become: yes
|
||||
become_user: jamesc
|
||||
become_method: su
|
||||
Reference in New Issue
Block a user