Excerpts from Kevin Fenzi's message of 2017-05-17 14:34 -06:00:
Hopefully that cert will happen soon and then the main thing left in
my mind is to get apps setup in ansible. ie, ansible creates the
project and such so we don't need to do any clicking around or cli
stuff. We could probibly use help with that if anyone has used the
openshift ansible modules. After that I could see trying to setup
waverdb in stg.
So I am very curious about this too, since we will want to use Ansible
for managing our internal deployment of the apps as well.
Not sure which OpenShift Ansible module you are thinking of -- as far as
I can see, nobody has actually written such a thing.
There is
https://github.com/openshift/openshift-ansible but I think that
is just roles and playbooks for deploying an OpenShift cluster itself
(not for deploying apps inside the cluster).
I found this demo:
http://servicesblog.redhat.com/2016/08/11/automating-the-provisioning-and...
but they are just invoking the oc command using Ansible's command
module. That's probably not a *bad* approach, if you just keep some
OpenShift YAML checked into git alongside the playbooks, and just have
the playbook do `oc apply -f`, although it doesn't give you any check
mode or diff or anything nice.
Oh and I discovered there *is* a kubernetes module:
https://docs.ansible.com/ansible/kubernetes_module.html ...
but I'm not sure how compatible that would be with OpenShift?
--
Dan Callaghan <dcallagh(a)redhat.com>
Senior Software Engineer, Products & Technologies Operations
Red Hat