README.rst

ansible-ansible-openshift-ansible

Ansible playbooks to run ansible on a remote "openshift control" what will run `openshift-ansible`_ to deploy a cluster.

What? Why?

The `openshift-ansible`_ playbooks require that various tasks be run on localhost in order to build their internal abstracted representation of the inventory list. Running potentially arbitrary code from external sources on a bastion host (which is what localhost would be as the ansible control machine) is often frowned upon. The goal here is to allow for the deployment of `openshift-ansible`_ via an intermediate host.

+---------------+                   +-------------------+
|               |                   |                   |
| bastion host  +----[ansible]----->| openshift control |
|               |                   |                   |
+---------------+                   +---------+---------+
                                              |
                                              |
                                          [ansible]
                                              |
                                              |
                                              V
+--------------------------------------------------------------------------+
|                                                                          |
|  openshift cluster                                                       |
|                                                                          |
|  +-----------+               +-----------+   +-----------+               |
|  |           |               |           |   |           |               |
|  | openshift |  ...[masters] | openshift |   | openshift |   ...[nodes]  |
|  |  master   |               |   node    |   |   node    |               |
|  |           |               |           |   |           |               |
|  +-----------+               +-----------+   +-----------+               |
|                                                                          |
+--------------------------------------------------------------------------+