cpupower: Initial version of role
This commit is contained in:
parent
4846fc9bf5
commit
45c124a82b
3 changed files with 23 additions and 0 deletions
15
roles/cpupower/tasks/main.yml
Normal file
15
roles/cpupower/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue