diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-01 00:22:28 -0500 |
---|---|---|
committer | Jason DeTiberus <jdetiber@redhat.com> | 2015-03-02 10:47:17 -0500 |
commit | 02478965aa7b15f5d8e696b221f3d0dbd3eb81a4 (patch) | |
tree | b1eff8e568e4875c67e9205b0eddd4a74bc78538 /roles/openshift_node/tasks | |
parent | c11293dc167cbafdfff2c5d01239de53a77b053b (diff) | |
download | openshift-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_node/tasks')
-rw-r--r-- | roles/openshift_node/tasks/main.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml index 72dc23dea..9015cae80 100644 --- a/roles/openshift_node/tasks/main.yml +++ b/roles/openshift_node/tasks/main.yml @@ -2,11 +2,6 @@ - name: Install OpenShift Node package yum: pkg=openshift-node state=installed -- name: Set OpenShift node facts - include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml" - facts: - - { section: node, option: debug_level, value: "{{ openshift_node_debug_level }}" } - - local_action: command /usr/bin/mktemp -d /tmp/openshift-ansible-XXXXXXX register: mktemp @@ -35,6 +30,13 @@ notify: - restart openshift-node +- name: Set OpenShift node facts + include: "{{ role_path | dirname }}/openshift_common/tasks/set_facts.yml" + facts: + - { section: node, option: debug_level, value: "{{ openshift_node_debug_level }}" } + - { section: node, option: public_ip, value: "{{ openshift_public_ip }}" } + - { section: node, option: externally_managed, value: "{{ openshift_node_manage_service_externally }}" } + # fixme: Once the openshift_cluster playbook is published state should be started # Always bounce service to pick up new credentials - name: Start and enable openshift-node |