
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
16 lines
264 B
YAML
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']
|
|
|