mirror of https://github.com/ansible/ansible.git
Removing some leftover debug prints and cleaning up test sample
parent
cf96c7719e
commit
93c9803818
@ -1 +1 @@
|
|||||||
allow_duplicates: yes
|
#allow_duplicates: yes
|
||||||
|
@ -1,2 +1 @@
|
|||||||
- debug: msg="this is test_become_r1"
|
|
||||||
- command: whoami
|
- command: whoami
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
allow_duplicates: yes
|
#allow_duplicates: yes
|
||||||
dependencies:
|
dependencies:
|
||||||
- test_become_r1
|
- test_become_r1
|
||||||
|
@ -1,2 +1 @@
|
|||||||
- debug: msg="this is test_become_r2"
|
|
||||||
- command: whoami
|
- command: whoami
|
||||||
|
@ -1,14 +1,10 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
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:
|
|
||||||
- command: whoami
|
|
||||||
- block:
|
- block:
|
||||||
- command: whoami
|
- command: whoami
|
||||||
become_user: testing
|
become_user: testing
|
||||||
|
Loading…
Reference in New Issue