summaryrefslogtreecommitdiffstats
path: root/roles/openshift_registry
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_registry
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_registry')
-rw-r--r--roles/openshift_registry/tasks/main.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/roles/openshift_registry/tasks/main.yml b/roles/openshift_registry/tasks/main.yml
index ea362bb7d..7e6982d99 100644
--- a/roles/openshift_registry/tasks/main.yml
+++ b/roles/openshift_registry/tasks/main.yml
@@ -1,8 +1,8 @@
---
-- set_fact: _option_images="--images={{ openshift_registry_url|quote }}"
- when: openshift_registry_url is defined
+- set_fact: _oreg_images="--images={{ oreg_url|quote }}"
+ when: oreg_url is defined
- name: Deploy OpenShift Registry
- command: openshift admin registry --create --credentials=/var/lib/openshift/openshift.local.certificates/openshift-registry/.kubeconfig {{ _option_images|default() }}
- register: _openshift_registry__results
- changed_when: "'service exists' not in _openshift_registry__results.stdout"
+ command: openshift admin registry --create --credentials=/var/lib/openshift/openshift.local.certificates/openshift-registry/.kubeconfig {{ _oreg_images|default() }}
+ register: _oreg_results
+ changed_when: "'service exists' not in _oreg_results.stdout"