summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-09-14 15:35:56 -0400
committerGitHub <noreply@github.com>2017-09-14 15:35:56 -0400
commit2f951f399343292d7c7746acc16ae8d74e043f62 (patch)
tree5fc960a040fb548db000932fcf61412f7eb1f791 /roles/openshift_node
parentd37a39d825ad3ccbdccc5c0ad5d35081546a45d6 (diff)
parentddeee3f5a59c5df439ef0bad80345ab919ca0665 (diff)
downloadopenshift-2f951f399343292d7c7746acc16ae8d74e043f62.tar.gz
openshift-2f951f399343292d7c7746acc16ae8d74e043f62.tar.bz2
openshift-2f951f399343292d7c7746acc16ae8d74e043f62.tar.xz
openshift-2f951f399343292d7c7746acc16ae8d74e043f62.zip
Merge pull request #5410 from jmencak/tuned-after-node-restart
Setup tuned after the node has been restarted.
Diffstat (limited to 'roles/openshift_node')
-rw-r--r--roles/openshift_node/tasks/config.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_node/tasks/config.yml b/roles/openshift_node/tasks/config.yml
index 1504d01af..2759188f3 100644
--- a/roles/openshift_node/tasks/config.yml
+++ b/roles/openshift_node/tasks/config.yml
@@ -2,10 +2,6 @@
- name: Install the systemd units
include: systemd_units.yml
-- name: Setup tuned
- include: tuned.yml
- static: yes
-
- name: Start and enable openvswitch service
systemd:
name: openvswitch.service
@@ -99,5 +95,9 @@
msg: Node failed to start please inspect the logs and try again
when: node_start_result | failed
+- name: Setup tuned
+ include: tuned.yml
+ static: yes
+
- set_fact:
node_service_status_changed: "{{ node_start_result | changed }}"