|
@@ -1,7 +1,7 @@
|
|
|
---
|
|
|
- name: Pre-pull master system container image
|
|
|
command: >
|
|
|
- atomic pull --storage=ostree {{ openshift.common.system_images_registry }}/{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}
|
|
|
+ atomic pull --storage=ostree {{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}
|
|
|
register: pull_result
|
|
|
changed_when: "'Pulling layer' in pull_result.stdout"
|
|
|
|
|
@@ -13,7 +13,7 @@
|
|
|
- name: Install or Update master system container
|
|
|
oc_atomic_container:
|
|
|
name: "{{ openshift.common.service_type }}-master"
|
|
|
- image: "{{ openshift.common.system_images_registry }}/{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
+ image: "{{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
state: latest
|
|
|
when:
|
|
|
- not l_is_ha
|
|
@@ -22,7 +22,7 @@
|
|
|
- name: Install or Update HA api master system container
|
|
|
oc_atomic_container:
|
|
|
name: "{{ openshift.common.service_type }}-master-api"
|
|
|
- image: "{{ openshift.common.system_images_registry }}/{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
+ image: "{{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
state: latest
|
|
|
values:
|
|
|
- COMMAND=api
|
|
@@ -32,7 +32,7 @@
|
|
|
- name: Install or Update HA controller master system container
|
|
|
oc_atomic_container:
|
|
|
name: "{{ openshift.common.service_type }}-master-controllers"
|
|
|
- image: "{{ openshift.common.system_images_registry }}/{{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
+ image: "{{{ 'docker:' if openshift.common.system_images_registry == 'docker' else openshift.common.system_images_registry + '/' }}{ openshift.master.master_system_image }}:{{ openshift_image_tag }}"
|
|
|
state: latest
|
|
|
values:
|
|
|
- COMMAND=controllers
|