ansible/v2/samples/test_become.yml

9 lines
144 B
YAML
Raw Normal View History

2015-03-13 17:57:27 +01:00
- hosts: all
gather_facts: no
tasks:
- command: whoami
2015-03-13 21:31:20 +01:00
become_user: testing
- block:
- command: whoami
become_user: testing