| | |
| | | -e"ansible_ssh_private_key_file=~/.ssh/keytoyourhost.pem" \ |
| | | -e"ansible_ssh_user=ec2-user" \ |
| | | -e"ANSIBLE_REPO_PATH=`pwd`" \ |
| | | -e"OCP_USERNAME=${OCP_USERNAME}" \ |
| | | -e"ocp_username=${OCP_USERNAME}" \ |
| | | -e"ocp_workload=${WORKLOAD}" \ |
| | | -e"guid=${GUID}" \ |
| | | -e"ocp_user_needs_quota=true" \ |
| | |
| | | === To Delete an environment |
| | | ---- |
| | | TARGET_HOST="bastion.dev37.openshift.opentlc.com" |
| | | OCP_USERNAME="shachar-redhat.com" |
| | | OCP_USERNAME="ankay-redhat.com" |
| | | WORKLOAD="ocp-workload-developer-environment" |
| | | GUID=1001 |
| | | GUID=1002 |
| | | |
| | | # a TARGET_HOST is specified in the command line, without using an inventory file |
| | | ansible-playbook -i ${TARGET_HOST}, ./configs/ocp-workloads/ocp-workload.yml \ |
| | | -e"ansible_ssh_private_key_file=~/.ssh/keytoyourhost.pem" \ |
| | | -e"ansible_ssh_user=ec2-user" \ |
| | | -e"ANSIBLE_REPO_PATH=`pwd`" \ |
| | | -e"OCP_USERNAME=${OCP_USERNAME}" \ |
| | | -e"ocp_username=${OCP_USERNAME}" \ |
| | | -e"ocp_workload=${WORKLOAD}" \ |
| | | -e"guid=${GUID}" \ |
| | | -e"ACTION=remove" |