These playbooks help to configure OCP after a cluster has been installed.
They require the following modules to be installed: urllib3 requests requests-oauthlib openshift >= 0.6 PyYAML >= 3.11 kubernetes-validate
for example: pip3 install openshift urllib3 requests requests-oauthlib pyyaml --user
The playbooks use the vars.yml and vault.yml files.
Do not commit an unencrypted vault.yml file to Github. The example-vault.yml file is just an example and should not be filled in.
To run the playbooks: ./playbook.yml --ask-vault-pass -t {role name} -e {action}=true
Example: Configure ldap authentication: ./playbook.yml --ask-vault-pass -t openshift_config_ldap -e apply=true
Teardown ldap authentication: ./playbook.yml --ask-vault-pass -t openshift_config_ldap -e teardown=true