diff options
author | Jhon Honce <jhonce@redhat.com> | 2015-06-01 16:00:11 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-06-01 16:00:11 -0700 |
commit | 433e3c77adf99cfaa5d6b8f94d2f0065f187b0fc (patch) | |
tree | a1e01051d2e971364c4415a673a6c8683b80d2fb /roles/openshift_router/tasks | |
parent | 92524d99ddcb5365bebf3e73e32ab604581d0fd9 (diff) | |
parent | 3f486ba15524ece60a2e211416535ca3d40708bc (diff) | |
download | openshift-433e3c77adf99cfaa5d6b8f94d2f0065f187b0fc.tar.gz openshift-433e3c77adf99cfaa5d6b8f94d2f0065f187b0fc.tar.bz2 openshift-433e3c77adf99cfaa5d6b8f94d2f0065f187b0fc.tar.xz openshift-433e3c77adf99cfaa5d6b8f94d2f0065f187b0fc.zip |
Merge pull request #190 from jwhonce/wip/containers
Infrastructure - Deploy services in cluster
@twiest All comments covered.
Diffstat (limited to 'roles/openshift_router/tasks')
-rw-r--r-- | roles/openshift_router/tasks/main.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/openshift_router/tasks/main.yml b/roles/openshift_router/tasks/main.yml new file mode 100644 index 000000000..f1ee99dd3 --- /dev/null +++ b/roles/openshift_router/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- set_fact: _ortr_images="--images={{ oreg_url|quote }}" + when: oreg_url is defined + +- name: Deploy OpenShift Router + command: openshift ex router --create --credentials=/var/lib/openshift/openshift.local.certificates/openshift-router/.kubeconfig {{ _ortr_images|default() }} + register: _ortr_results + changed_when: "'service exists' not in _ortr_results.stdout" |