| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A container that can be used to run the atomic-openshift-installer, or
by bypassing the entrypoint can be used to run ansible playbooks
directly.
Expects the user to mount a directory to /var/lib/openshift, where we'll
write out the installer.cfg, ansible.log, and hosts inventory.
WARNING: Don't run this on a host you're installing to, installation
restarts Docker which will kill your installer.
Example of running the quick installer:
docker run -ti -v ~/openshift/:/var/lib/openshift-installer/:Z -v ~/.ssh:/root/.ssh:Z openshift3/installer install
Example of running ansible directly:
docker run --entrypoint=/usr/bin/ansible-playbook -ti -v ~/openshift/:/var/lib/openshift-installer/:Z -v ~/.ssh:/root/.ssh:Z openshift3/installer -i /openshift-installer/install/.ansible/hosts /usr/share/ansible/openshift-ansible/playbooks/adhoc/uninstall.yml
|
|
|
|
| |
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
|
|
|
|
|
| |
Movied Dockerfile to openshift-ansible repo root and updated
README_ANSIBLE_CONTAINER.md file.
|
|
|
|
|
| |
ansible in a docker container, and also modified Dockerfile to replace
CMD with ENTRYPOINT to run the container as executable.
|
|
|
|
| |
also added privileged flag to allow sharing host network and host dirs.
|
|
This Dockerfile packages ansible and the playbook as a container image.
It's a proof of concept as it makes some assumptions:
- bindmounts private key ~/.ssh/id_rsa
- default cmd executes the byo playbook
|