Set up Openshift roles
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
664237a7f2
commit
a87be8843a
1 changed files with 11 additions and 0 deletions
|
@ -159,3 +159,14 @@
|
|||
tasks:
|
||||
- name: enable nrpe for monitoring (noc01)
|
||||
iptables: action=insert chain=INPUT destination_port=5666 protocol=tcp source=10.5.126.41 state=present jump=ACCEPT
|
||||
- name: Disallow users from provisioning
|
||||
command: oadm policy remove-cluster-role-from-group self-provisioner system:authenticated system:authenticated:oauth
|
||||
changed_when: false
|
||||
- name: Allow some users cluster admin
|
||||
command: oadm policy add-cluster-role-to-user cluster-admin {{item}}
|
||||
with_items:
|
||||
- puiterwijk
|
||||
- kevin
|
||||
- codeblock
|
||||
- smooge
|
||||
changed_when: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue