Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. - name: Install a list of packages
  2. apt:
  3. name: "{{ packages }}"
  4. vars:
  5. packages:
  6. - cpufrequtils
  7.  
  8. - name: cpufreq to maximum
  9. lineinfile: path=/etc/default/cpufrequtils regexp='^GOVERNOR\="performance"' line='GOVERNOR="performance"'
  10. tags: cpuperf
  11.  
  12. - name: disable ondemand
  13. command: update-rc.d ondemand disable
  14. ignore_errors: yes
  15. tags: cpuperf
  16.  
  17. - name: restart cpufrequtils
  18. service: name=cpufrequtils state=restarted
  19. tags: cpuperf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement