role/profile dir: use ternary instead of task
This commit is contained in:
parent
369385b192
commit
fdb8a3c6a1
2 changed files with 1 additions and 6 deletions
|
@ -11,4 +11,4 @@ amdgpu_profiles:
|
|||
- overclock
|
||||
- peak
|
||||
|
||||
tuned_amdgpu_profile_dir: '/etc/tuned/profiles' # introduced in '2.23.0-1'
|
||||
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