mirror of
https://github.com/KevinMidboe/playbooks-retailor.git
synced 2026-09-07 13:32:06 +00:00
21 lines
419 B
YAML
21 lines
419 B
YAML
---
|
|
- name: Reload sysctl
|
|
ansible.builtin.command: sysctl -p /etc/sysctl.d/99-redis.conf
|
|
changed_when: false
|
|
|
|
- name: Reload systemd
|
|
ansible.builtin.systemd:
|
|
daemon_reload: true
|
|
|
|
- name: Enable and start disable-thp
|
|
ansible.builtin.systemd:
|
|
name: disable-thp.service
|
|
enabled: true
|
|
state: started
|
|
|
|
- name: Restart redis
|
|
ansible.builtin.systemd:
|
|
name: redis-server
|
|
state: restarted
|
|
|