Fix broken loop in upgrade_kube_prom_stack
Version Control Information
Source branch: bruno.sc/fix-monitoring-playbook
Target branch: devel
Commits:
* Fix broken loop in upgrade_kube_prom_stack
Using `when` with Ansible loops has a different behavior than one might
intuitively expect.
The when-condition is checked for every loop item hence it cannot be used to
skip the whole task.
Merge Prerequisites
-
MR title (and description) are descriptive -
Code is readable and syntactically correct -
Code is understandable -
Documentation has been updated, if necessary -
Commit messages look good -
Release note file in RST format added in latest commit