This commit is contained in:
Kevin Fenzi 2018-05-04 21:47:02 +00:00
parent fdeae4e629
commit 37464762bb

View file

@ -179,7 +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
failed_when: 'unable to find target' not in command_result.stdout
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}}
with_items: