Updated sysfs tasks

This commit is contained in:
Sergei Antipov 2015-07-24 11:52:21 +06:00
parent d49485d0db
commit 53b969c23f
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
--- ---
version: 1.4.1 version: 1.4.3
dependencies: [] dependencies: []
galaxy_info: galaxy_info:

View File

@ -44,6 +44,15 @@
apt: name=sysfsutils state=present apt: name=sysfsutils state=present
when: ansible_os_family == 'Debian' and mongodb_disable_thp when: ansible_os_family == 'Debian' and mongodb_disable_thp
- name: Create /etc/sysfs.d direcroty
file:
path: /etc/sysfs.d
group: root
state: directory
mode: 0755
owner: root
when: ansible_os_family == 'Debian' and mongodb_disable_thp
- name: Create sysfs config - name: Create sysfs config
copy: copy:
src: hugepages.conf src: hugepages.conf