| | |
| | | - name: "Create project for workload {{namespace}}" |
| | | shell: "oc new-project {{namespace}}" |
| | | |
| | | - name: "Create 2nd project for brokered workload {{namespace}}" |
| | | shell: "oc new-project {{namespace}}_brokered" |
| | | |
| | | - name: Make sure we go back to default project |
| | | shell: "oc project default" |
| | | |
| | |
| | | depth: 1 |
| | | version: "{{enmasse_repo_tag}}" |
| | | |
| | | - name: execute ansible-playbook using shell |
| | | - name: execute ansible-playbook using shell to create standard ST deployment |
| | | shell: | |
| | | ansible-playbook -i "enmasse," -c local /tmp/{{namespace}}/enmasse/templates/install/ansible/playbooks/openshift/{{enmasse_template_file}} \ |
| | | ansible-playbook -i /tmp/{{namespace}}/enmasse/ansible/inventory/singletenant-standard.example /tmp/{{namespace}}/enmasse/ansible/playbooks/openshift/{{enmasse_template_file}} \ |
| | | -e namespace={{namespace}} \ |
| | | -e multitenant=true \ |
| | | -e multitenant=false \ |
| | | -e enable_rbac=false \ |
| | | -e enable_user_lookup=true \ |
| | | -e api_server=true \ |
| | | -e register_api_server=true \ |
| | | -e keycloak_admin_password={{keycloak_admin_password}} \ |
| | |
| | | > /tmp/{{namespace}}/enmasse_install.log |
| | | |
| | | |
| | | - name: Make sure we go to brokered project |
| | | shell: "oc project {{namespace}}_brokered" |
| | | |
| | | - name: execute ansible-playbook using shell to create brokered ST deployment |
| | | shell: | |
| | | ansible-playbook -i /tmp/{{namespace}}/enmasse/ansible/inventory/singletenant-brokered.example /tmp/{{namespace}}/enmasse/ansible/playbooks/openshift/{{enmasse_template_file}} \ |
| | | -e namespace={{namespace}} \ |
| | | -e multitenant=false \ |
| | | -e enable_rbac=false \ |
| | | -e api_server=true \ |
| | | -e register_api_server=true \ |
| | | -e keycloak_admin_password={{keycloak_admin_password}} \ |
| | | -e authentication_services={{authentication_services}} \ |
| | | > /tmp/{{namespace}}/enmasse_install_1.log |
| | | |
| | | # ############################################### |
| | | |
| | | - name: annotate the project as requested by user |