Browse Source

create a new playbook to handle OCP Access Control

master
Nicolas Massé 8 years ago
parent
commit
36d69fc4da
  1. 8
      playbooks/configure-openshift-access-control.yml
  2. 2
      playbooks/site.yml

8
playbooks/configure-openshift-access-control.yml

@ -0,0 +1,8 @@
---
- name: Configure the OpenShift Access Control Layer
hosts: itix
become: yes
tasks:
- name: Remove authenticated users the right to create projects
command: oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated:oauth

2
playbooks/site.yml

@ -8,3 +8,5 @@
- include: "./openshift-ansible/playbooks/byo/config.yml" - include: "./openshift-ansible/playbooks/byo/config.yml"
- include: "post-install.yml" - include: "post-install.yml"
- include: "configure-openshift-access-control.yml"

Loading…
Cancel
Save