mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Removing some leftover debug prints and cleaning up test sample
This commit is contained in:
parent
cf96c7719e
commit
93c9803818
8 changed files with 2 additions and 12 deletions
|
@ -1 +1 @@
|
|||
allow_duplicates: yes
|
||||
#allow_duplicates: yes
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
- debug: msg="this is test_become_r1"
|
||||
- command: whoami
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
allow_duplicates: yes
|
||||
#allow_duplicates: yes
|
||||
dependencies:
|
||||
- test_become_r1
|
||||
|
|
|
@ -1,2 +1 @@
|
|||
- debug: msg="this is test_become_r2"
|
||||
- command: whoami
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
- hosts: all
|
||||
gather_facts: no
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue