openshift-ansible docker image
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_AUTH_URLenvironment variables set by having sourced your
- Have a
$HOME/.ssh/id_rsa.pubfile containing the ssh public key that will be used on created VMs.
- Have a local ssh agent listening on
$SSH_AUTH_SOCKand containing the corresponding ssh private key.
Create a new cluster
docker-openshift-ansible create os <cluster-id>
List the machines of a cluster
docker-openshift-ansible list os <cluster-id>
Terminate a cluster
docker-openshift-ansible terminate os <cluster-id>