ansible-role-mongodb/tasks/disable_transparent_hugepag...

16 lines
406 B
YAML
Raw Normal View History

---
- name: Create disable transparent hugepages systemd service file
copy:
src: disable-transparent-hugepages.service
dest: /etc/systemd/system/disable-transparent-hugepages.service
owner: root
group: root
mode: 0644
- name: Enable disable-transparent-hugepages.service
systemd:
name: disable-transparent-hugepages
daemon-reload: true
enabled: true
state: started