diff options
author | Jhon Honce <jhonce@redhat.com> | 2015-06-01 15:49:06 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2015-06-01 15:49:06 -0700 |
commit | 28c279382f0b5d7570e10a8c56ffffbb6666ed2d (patch) | |
tree | a51cfd7350372b41b25ae2e8986ad464360ba508 /roles/openshift_router/tasks | |
parent | 5ecbe78c384a134620180a0a6e10a997acf4005e (diff) | |
download | openshift-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/tasks')
-rw-r--r-- | roles/openshift_router/tasks/main.yml | 10 |
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" |