cpupower: Initial version of role

This commit is contained in:
Timo Makinen 2023-08-14 17:15:28 +00:00
parent 4846fc9bf5
commit 45c124a82b
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,15 @@
---
- name: Copy config
ansible.builtin.copy:
dest: /etc/sysconfig/cpupower
src: cpupower.sysconfig
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"
notify: Restart cpupower
- name: Enable service
ansible.builtin.service:
name: cpupower
state: started
enabled: true