summaryrefslogtreecommitdiffstats
path: root/roles/openshift_router
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2015-06-01 15:49:06 -0700
committerJhon Honce <jhonce@redhat.com>2015-06-01 15:49:06 -0700
commit28c279382f0b5d7570e10a8c56ffffbb6666ed2d (patch)
treea51cfd7350372b41b25ae2e8986ad464360ba508 /roles/openshift_router
parent5ecbe78c384a134620180a0a6e10a997acf4005e (diff)
downloadopenshift-28c279382f0b5d7570e10a8c56ffffbb6666ed2d.tar.gz
openshift-28c279382f0b5d7570e10a8c56ffffbb6666ed2d.tar.bz2
openshift-28c279382f0b5d7570e10a8c56ffffbb6666ed2d.tar.xz
openshift-28c279382f0b5d7570e10a8c56ffffbb6666ed2d.zip
* rename openshift_registry_url oreg_url
* rename option_images to _{oreg|ortr}_images
Diffstat (limited to 'roles/openshift_router')
-rw-r--r--roles/openshift_router/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/openshift_router/tasks/main.yml b/roles/openshift_router/tasks/main.yml
index ae52063cb..f1ee99dd3 100644
--- a/roles/openshift_router/tasks/main.yml
+++ b/roles/openshift_router/tasks/main.yml
@@ -1,8 +1,8 @@
---
-- set_fact: _option_images="--images={{ openshift_registry_url|quote }}"
- when: openshift_registry_url is defined
+- 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 {{ _option_images|default() }}
- register: _openshift_router__results
- changed_when: "'service exists' not in _openshift_router__results.stdout"
+ 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"