Commit 79cf7e72 by James Cammarata

Modifying sample for test_become to show more test cases

parent 095990b4
#allow_duplicates: yes
allow_duplicates: yes
dependencies:
- test_become_r1
- hosts: all
gather_facts: no
remote_user: root
roles:
- { role: test_become_r2 }
- { role: test_become_r2, sudo_user: testing }
tasks:
- command: whoami
- command: whoami
become_user: testing
- block:
- command: whoami
- block:
- command: whoami
become_user: testing
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment