summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2015-03-01 00:22:28 -0500
committerJason DeTiberus <jdetiber@redhat.com>2015-03-02 10:47:17 -0500
commit02478965aa7b15f5d8e696b221f3d0dbd3eb81a4 (patch)
treeb1eff8e568e4875c67e9205b0eddd4a74bc78538 /roles/openshift_master
parentc11293dc167cbafdfff2c5d01239de53a77b053b (diff)
downloadopenshift-02478965aa7b15f5d8e696b221f3d0dbd3eb81a4.tar.gz
openshift-02478965aa7b15f5d8e696b221f3d0dbd3eb81a4.tar.bz2
openshift-02478965aa7b15f5d8e696b221f3d0dbd3eb81a4.tar.xz
openshift-02478965aa7b15f5d8e696b221f3d0dbd3eb81a4.zip
Set local_facts for openshift_node and openshift_master later in the task list
Diffstat (limited to 'roles/openshift_master')
-rw-r--r--roles/openshift_master/tasks/main.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/roles/openshift_master/tasks/main.yml b/roles/openshift_master/tasks/main.yml
index 45f776859..07483c0d6 100644
--- a/roles/openshift_master/tasks/main.yml
+++ b/roles/openshift_master/tasks/main.yml
@@ -2,13 +2,6 @@
- name: Install OpenShift Master package
yum: pkg=openshift-master state=installed
-- name: Set master OpenShift facts
- include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml"
- facts:
- - { section: master, option: debug_level, value: "{{ openshift_master_debug_level }}" }
- - { section: master, option: public_ip, value: "{{ openshift_public_ip }}" }
- - { section: master, option: externally_managed, value: "{{ openshift_master_manage_service_externally }}" }
-
- name: Configure firewall for OpenShift Master
include: "{{ role_path | dirname }}/openshift_common/tasks/firewall.yml"
allow:
@@ -28,6 +21,13 @@
notify:
- restart openshift-master
+- name: Set master OpenShift facts
+ include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml"
+ facts:
+ - { section: master, option: debug_level, value: "{{ openshift_master_debug_level }}" }
+ - { section: master, option: public_ip, value: "{{ openshift_public_ip }}" }
+ - { section: master, option: externally_managed, value: "{{ openshift_master_manage_service_externally }}" }
+
- name: Start and enable openshift-master
service: name=openshift-master enabled=yes state=started
when: not openshift_master_manage_service_externally