OpenShift OCP installation via AWX

100 views
Skip to first unread message

Ricardo Lourenço

unread,
Feb 11, 2018, 8:40:06 AM2/11/18
to AWX Project
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

John Mitchell

unread,
Feb 12, 2018, 10:34:41 AM2/12/18
to Ricardo Lourenço, AWX Project
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

--
You received this message because you are subscribed to the Google Groups "AWX Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to awx-project+unsubscribe@googlegroups.com.
To post to this group, send email to awx-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/awx-project/cc6baa5b-d2b0-4c94-9229-897765995b29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

John Mitchell
UI Engineer - Ansible Tower
Ansible by Red Hat

919-394-6667 | ansible.com 

GitHub: jlmitch5

Reply all
Reply to author
Forward
0 new messages