10 lines
202 B
YAML
10 lines
202 B
YAML
- hosts: all
|
|
gather_facts: no
|
|
roles:
|
|
- { role: test_become_r2, sudo_user: testing }
|
|
tasks:
|
|
- command: whoami
|
|
become_user: testing
|
|
- block:
|
|
- command: whoami
|
|
become_user: testing
|