mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Started implementing become in v2
This commit is contained in:
parent
f451974efe
commit
070c7c319f
16 changed files with 236 additions and 93 deletions
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
|
Loading…
Add table
Add a link
Reference in a new issue