role: move vars out of defaults, inline constant list

This commit is contained in:
Josh Lay 2024-08-27 06:36:35 -05:00
parent 10a6e61586
commit d07e6ca2fb
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
2 changed files with 3 additions and 12 deletions

View file

@ -71,7 +71,7 @@
path: "{{ (tuned_amdgpu_profile_dir, item.1 + '-amdgpu-' + item.0) | ansible.builtin.path_join }}"
mode: "0755"
with_nested:
- "{{ amdgpu_profiles }}"
- ['default', 'overclock', 'peak']
- "{{ base_profiles }}"
become: true
@ -93,7 +93,7 @@
group: root
mode: "0644"
with_nested:
- "{{ amdgpu_profiles }}"
- ['default', 'overclock', 'peak']
- "{{ base_profiles }}"
notify: Restart tuned
become: true