Is it possible to install OpenShift directly from Ansible AWX?
I can add all the hosts I need and create an openshift-ansible git-scm project thats syncs the correct branch and then call’s the installation (config.yml) playbook.
The main issue I’ve been facing so far is importing or using the inventory file used for installation.
Any thoughts?
Thank you,
Ricardo
Hey Ricardo,
I don’t think there’d be a reason you couldn’t create a job template that runs some sort of install openshift playbook against an inventory of hosts.
I think that since openshift isn’t installed yet, you would be able to import the inventory as an “openshift” source (more about these sources, once you do get things set up: http://docs.ansible.com/ansible-tower/latest/html/userguide/inventories.html#add-source)
I think for your case, you’ll need to import an inventory file or something like it. Check this out: http://docs.ansible.com/ansible-tower/3.2.2/html/administration/scm-inv-source.html
Hopefully those help!
John