The lhuard1a/openshift-ansible
docker image packages openshift-ansible with all the dependencies required to operate an OpenStack cluster.
In order to work properly, the lhuard1a/openshift-ansible
docker image has some requirements.
The easiest way to use it is to use the docker-openshift-ansible script
that can be downloaded at the following url: https://raw.githubusercontent.com/lhuard1A/docker-openshift-ansible-os/master/docker-openshift-ansible
- Have the
OS_USERNAME
,OS_PASSWORD
,OS_TENANT_NAME
andOS_AUTH_URL
environment variables set by having sourced your.keystonerc
file. - Have a
$HOME/.ssh/id_rsa.pub
file containing the ssh public key that will be used on created VMs. - Have a local ssh agent listening on
$SSH_AUTH_SOCK
and containing the corresponding ssh private key.
docker-openshift-ansible create os <cluster-id>
docker-openshift-ansible list os <cluster-id>
docker-openshift-ansible terminate os <cluster-id>