Commit a558b9fd authored by Joanne Hugé's avatar Joanne Hugé

fixup! playbook/cpu-scaling-governor

when cpufreq/scaling_governor doesn't exit rc doesn't exist because command is
skipped
parent 151c57e8
Pipeline #23712 failed with stage
in 0 seconds
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
- name: Set CPU Scaling Governor - name: Set CPU Scaling Governor
shell: 'echo {{ value }} > {{ item.item.item }}/cpufreq/scaling_governor' shell: 'echo {{ value }} > {{ item.item.item }}/cpufreq/scaling_governor'
with_items: '{{ cpu_offline.results }}' with_items: '{{ cpu_offline.results }}'
when: item.rc != 0 when: ('rc' in item) and (item.rc != 0)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment