blob: 929177262ac21a2bf45c56f90bc9840dcd3abe52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
---
- set_fact: _ortr_images="--images={{ oreg_url|quote }}"
when: oreg_url is defined
- name: Deploy OpenShift Router
command: >
{{ openshift.common.admin_binary }} router
--create
--credentials={{ openshift_master_config_dir }}/openshift-router.kubeconfig {{ _ortr_images|default() }}
register: _ortr_results
changed_when: "'service exists' not in _ortr_results.stdout"
|