Ansible runtime and playbooks for OpenShift
224
Containerized openshift-ansible
This image packages openshift-ansible, the Ansible-based tooling to install and manage OpenShift clusters.
This image is built upon the playbook2image source-to-image base image. The resulting image can run any of the playbooks provided in openshift-ansible.
Note: at this time there are known issues that prevent to run this image for installation/upgrade purposes (i.e. run one of the config/upgrade playbooks) from within one of the hosts that is also an installation target at the same time: if the playbook you want to run attempts to manage the docker daemon and restart it (like install/upgrade playbooks do) this would kill the container itself during its operation. Usage
The playbook2image base image provides several options to control the behaviour of the containers. For more details on these options see the playbook2image documentation.
At the very least, when running a container using this image you must specify:
An inventory file. This can be mounted inside the container as a volume and specified with the INVENTORY_FILE environment variable. Alternatively you can serve the inventory file from a web server and use the INVENTORY_URL environment variable to fetch it.
ssh keys so that Ansible can reach your hosts. These should be mounted as a volume under /opt/app-root/src/.ssh
The playbook to run. This is set using the PLAYBOOK_FILE environment variable. If you don't specify a playbook the openshift_facts playbook will be run, collecting and showing facts about your OpenShift environment.
Content type
Image
Digest
Size
326.5 MB
Last updated
almost 6 years ago
docker pull negov62438/origin-ansible