adjust command for new os
This commit is contained in:
parent
d2d0be6223
commit
fdeae4e629
1 changed files with 2 additions and 1 deletions
|
@ -177,8 +177,9 @@
|
|||
|
||||
tasks:
|
||||
- name: Disallow users from provisioning
|
||||
command: oadm policy remove-cluster-role-from-group self-provisioner system:authenticated system:authenticated:oauth
|
||||
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
|
||||
- name: Allow some users cluster admin
|
||||
command: oadm policy add-cluster-role-to-user cluster-admin {{item}}
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue