role: move vars out of defaults, inline constant list
This commit is contained in:
parent
10a6e61586
commit
d07e6ca2fb
2 changed files with 3 additions and 12 deletions
5
roles/tuned_amdgpu/vars/main.yml
Normal file
5
roles/tuned_amdgpu/vars/main.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
# defaults file for tuned_amdgpu
|
||||
#
|
||||
# adjust where profiles are rendered based on the 'tuned' release from package facts
|
||||
tuned_amdgpu_profile_dir: "{{ '/etc/tuned' if ansible_facts['packages']['tuned'][0]['version'] is version('2.23.0', '<') else '/etc/tuned/profiles' }}"
|
Loading…
Add table
Add a link
Reference in a new issue