This commit is contained in:
Kevin Carter 2014-09-27 10:49:15 -05:00
parent 5670d85efd
commit ad9e75b7de
4 changed files with 33 additions and 0 deletions

View File

@ -15,3 +15,6 @@
- name: Restart sysstat
service: name=sysstat state=restarted pattern=sysstat enabled=yes
- name: Restart irqbalance
service: name=irqbalance state=restarted pattern=irqbalance enabled=yes

View File

@ -0,0 +1,20 @@
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- name: Drop irqbalance default
template:
src: "irqbalance"
dest: "/etc/default/irqbalance"
notify: Restart irqbalance

View File

@ -17,3 +17,4 @@
- include: updatehostsfile.yml
- include: authorized_keys.yml
- include: kernel_modules.yml
- include: irqbalance.yml

View File

@ -0,0 +1,9 @@
#Configuration for the irqbalance daemon
#Should irqbalance be enabled?
ENABLED="1"
#Balance the IRQs only once?
ONESHOT="0"
# Ignore hints
OPTIONS="--hintpolicy=ignore"