2019-05-27 19:00:59 +00:00
|
|
|
---
|
|
|
|
- name: Create disable transparent hugepages systemd service file
|
2018-12-18 09:50:38 +00:00
|
|
|
copy:
|
2019-05-27 19:00:59 +00:00
|
|
|
src: disable-transparent-hugepages.service
|
|
|
|
dest: /etc/systemd/system/disable-transparent-hugepages.service
|
2018-12-18 09:50:38 +00:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
|
|
|
|
2019-05-27 19:00:59 +00:00
|
|
|
- name: Enable disable-transparent-hugepages.service
|
2018-12-18 09:50:38 +00:00
|
|
|
systemd:
|
|
|
|
name: disable-transparent-hugepages
|
2019-05-27 19:00:59 +00:00
|
|
|
daemon-reload: true
|
|
|
|
enabled: true
|
2018-12-18 09:50:38 +00:00
|
|
|
state: started
|