summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorJason DeTiberus <jdetiber@redhat.com>2016-03-11 02:56:16 -0500
committerJason DeTiberus <jdetiber@redhat.com>2016-03-14 11:38:20 -0400
commit8f7b31051dae0cdb853ca2f7fb68c31a40ae2967 (patch)
tree6719a20fe3e1559c563985adc02332357e37e576 /roles/openshift_node/tasks
parent1565bc6e71bdda712d4cfdbf28754f00b38a4674 (diff)
downloadopenshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.gz
openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.bz2
openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.tar.xz
openshift-8f7b31051dae0cdb853ca2f7fb68c31a40ae2967.zip
improve ordering of systemd units
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/main.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index 83aa590fa..54ba2aa6a 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -85,6 +85,10 @@
- name: Start and enable openvswitch docker service
service: name=openvswitch.service enabled=yes state=started
when: openshift.common.is_containerized | bool and openshift.common.use_openshift_sdn | bool
+ register: ovs_start_result
+
+- set_fact:
+ ovs_service_status_changed: "{{ ovs_start_result | changed }}"
# TODO: add the validate parameter when there is a validation command to run
- name: Create the Node config
@@ -134,7 +138,7 @@
- name: Start and enable node
service: name={{ openshift.common.service_type }}-node enabled=yes state=started
- register: start_result
+ register: node_start_result
- set_fact:
- node_service_status_changed: "{{ start_result | changed }}"
+ node_service_status_changed: "{{ node_start_result | changed }}"