diff options
author | Andrew Lau <andrew@andrewklau.com> | 2016-09-22 08:59:28 +1000 |
---|---|---|
committer | Andrew Lau <andrew@andrewklau.com> | 2016-09-22 09:00:02 +1000 |
commit | 05cc4d84fba2a0ac6877ec7d2929a4d461b1124e (patch) | |
tree | da241b6b5f90291b2c1dd112259608c039a1ea83 /roles/openshift_hosted/tasks | |
parent | cae0ff6c74d9352d7abc1414d1f1f67f454c9803 (diff) | |
download | openshift-05cc4d84fba2a0ac6877ec7d2929a4d461b1124e.tar.gz openshift-05cc4d84fba2a0ac6877ec7d2929a4d461b1124e.tar.bz2 openshift-05cc4d84fba2a0ac6877ec7d2929a4d461b1124e.tar.xz openshift-05cc4d84fba2a0ac6877ec7d2929a4d461b1124e.zip |
Add openshift_hosted_router_name
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r-- | roles/openshift_hosted/tasks/router/router.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/router/router.yml b/roles/openshift_hosted/tasks/router/router.yml index e18b9781c..0cad19c34 100644 --- a/roles/openshift_hosted/tasks/router/router.yml +++ b/roles/openshift_hosted/tasks/router/router.yml @@ -70,6 +70,10 @@ {% if openshift.hosted.router.registryurl | default(none) is not none -%} --images='{{ openshift.hosted.router.registryurl }}' {% endif -%} + {% if openshift.hosted.router.name | default(none) is not none -%} + {{ openshift.hosted.router.name }} + {% endif -%} + register: openshift_hosted_router_results changed_when: "'service exists' not in openshift_hosted_router_results.stdout" failed_when: "openshift_hosted_router_results.rc != 0 and 'service exists' not in openshift_hosted_router_results.stdout and 'deployment_config' not in openshift_hosted_router_results.stderr and 'service' not in openshift_hosted_router_results.stderr" |