summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-09-19 10:48:54 -0400
committerGitHub <noreply@github.com>2016-09-19 10:48:54 -0400
commit596f6e705679cba04215204543912344918bca15 (patch)
tree1ad96dd8c38e9bf39af225bc1a87c35adf5fc80c /roles/openshift_node/tasks
parente092de714dc09a86a0ff26c648eec2033a3b9952 (diff)
parent802db248409b3898de0f80b1d1e98914acc51b5b (diff)
downloadopenshift-596f6e705679cba04215204543912344918bca15.tar.gz
openshift-596f6e705679cba04215204543912344918bca15.tar.bz2
openshift-596f6e705679cba04215204543912344918bca15.tar.xz
openshift-596f6e705679cba04215204543912344918bca15.zip
Merge pull request #2433 from andrewklau/tuned-atomic-guest
Add atomic-guest tuned profile
Diffstat (limited to 'roles/openshift_node/tasks')
-rw-r--r--roles/openshift_node/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_node/tasks/main.yml b/roles/openshift_node/tasks/main.yml
index f49e97745..995169dd6 100644
--- a/roles/openshift_node/tasks/main.yml
+++ b/roles/openshift_node/tasks/main.yml
@@ -34,6 +34,10 @@
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-node{{ openshift_pkg_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }},tuned-profiles-{{ openshift.common.service_type }}-node{{ openshift_pkg_version | default('') | oo_image_tag_to_rpm_version(include_dash=True) }} state=present"
when: not openshift.common.is_containerized | bool
+- name: Set atomic-guest tuned profile
+ command: "tuned-adm profile atomic-guest"
+ when: openshift.common.is_atomic | bool
+
- name: Install sdn-ovs package
action: "{{ ansible_pkg_mgr }} name={{ openshift.common.service_type }}-sdn-ovs{{ openshift_pkg_version | oo_image_tag_to_rpm_version(include_dash=True) }} state=present"
when: openshift.common.use_openshift_sdn and not openshift.common.is_containerized | bool