Remember to actually register the output
This commit is contained in:
parent
49454289a6
commit
25e0e202b5
1 changed files with 1 additions and 0 deletions
|
@ -179,6 +179,7 @@
|
|||
- name: Disallow users from provisioning
|
||||
command: oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated system:authenticated:oauth
|
||||
changed_when: false
|
||||
register: command_result
|
||||
failed_when: "'unable to find target' not in command_result.stdout"
|
||||
- name: Allow some users cluster admin
|
||||
command: oadm policy add-cluster-role-to-user cluster-admin {{item}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue