Merge "Ensure tuned_custom_profile is used for tuned role" into stable/train
This commit is contained in:
commit
dfb25480ce
@ -20,14 +20,14 @@
|
||||
path: "/etc/tuned/{{ tuned_profile }}"
|
||||
state: directory
|
||||
when:
|
||||
- (custom_profile is defined) and ((custom_profile | length) > 0)
|
||||
- (tuned_custom_profile is defined) and ((tuned_custom_profile | length) > 0)
|
||||
|
||||
- name: Create custom tuned profile
|
||||
copy:
|
||||
content: "{{ custom_profile }}"
|
||||
content: "{{ tuned_custom_profile }}"
|
||||
dest: "/etc/tuned/{{ tuned_profile }}/tuned.conf"
|
||||
when:
|
||||
- (custom_profile is defined) and ((custom_profile | length) > 0)
|
||||
- (tuned_custom_profile is defined) and ((tuned_custom_profile | length) > 0)
|
||||
|
||||
- name: Check tuned active profile
|
||||
slurp:
|
||||
|
Loading…
Reference in New Issue
Block a user