summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 07483c0d6..0b3842856 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -21,6 +21,15 @@
notify:
- restart openshift-master
+- name: Set default registry url
+ lineinfile:
+ dest: /etc/sysconfig/openshift-master
+ regexp: '^IMAGES='
+ line: "IMAGES={{ openshift_registry_url }}"
+ when: openshift_registry_url is defined
+ notify:
+ - restart openshift-master
+
- name: Set master OpenShift facts
include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml"
facts: