Jonathan Rosser 7b03c1b5b1 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: I4a68549bf85fd322ea344139869916aae3275377
2021-03-10 12:16:39 +00:00

16 lines
264 B
YAML

---
- name: Enable ksm systemd service
service:
name: ksm
enabled: yes
state: started
- name: Enable ksmtuned systemd service
service:
name: ksmtuned
enabled: yes
state: started
when:
- ansible_facts['pkg_mgr'] in [dnf', 'apt']