summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorJiri Mencak <jmencak@redhat.com>2017-09-14 11:17:10 +0200
committerJiri Mencak <jmencak@redhat.com>2017-09-14 11:17:10 +0200
commitddeee3f5a59c5df439ef0bad80345ab919ca0665 (patch)
tree9788b0fd52c4a4758b527f7bf6b61bd5e09cb413 /roles
parentc515805a1ecfa980bc56af4eb58c5655fde6be44 (diff)
downloadopenshift-ddeee3f5a59c5df439ef0bad80345ab919ca0665.tar.gz
openshift-ddeee3f5a59c5df439ef0bad80345ab919ca0665.tar.bz2
openshift-ddeee3f5a59c5df439ef0bad80345ab919ca0665.tar.xz
openshift-ddeee3f5a59c5df439ef0bad80345ab919ca0665.zip
Setup tuned after the node has been restarted.
Diffstat (limited to 'roles')
-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 }}"