Commit 79cf7e72 by James Cammarata

Modifying sample for test_become to show more test cases

parent 095990b4
#allow_duplicates: yes allow_duplicates: yes
dependencies: dependencies:
- test_become_r1 - test_become_r1
- hosts: all - hosts: all
gather_facts: no gather_facts: no
remote_user: root
roles: roles:
- { role: test_become_r2 }
- { role: test_become_r2, sudo_user: testing } - { role: test_become_r2, sudo_user: testing }
tasks: tasks:
- command: whoami - command: whoami
- command: whoami
become_user: testing become_user: testing
- block: - block:
- command: whoami - command: whoami
- block:
- command: whoami
become_user: testing 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