Razique Mahroua
2020-03-18 b85c91a8192593f6b62f93e11c971868964343a9
ansible/roles/ocp-client-vm/README.md
@@ -36,3 +36,21 @@
------------------
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
----
HOST_GUID=dev39
TARGET_HOST="bastion.$HOST_GUID.openshift.opentlc.com"
SSH_USERNAME="xxxx"
SSH_PRIVATE_KEY="xxxx"
WORKLOAD="ocp-client-vm"
# 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/${SSH_PRIVATE_KEY}" \
                 -e"ansible_user=${SSH_USERNAME}" \
                    -e"ocp_workload=${WORKLOAD}" \
                    -e"ACTION=create"
----