Fix failing collectd installation on OSP < 15
The groupoing of conditions in when was done poorly leading to dnf install running on a RHEL 7 controller for OSP version < 15. This patch fixes that. Change-Id: I20d6eca07a1258a777dfc0b6bad7d21eee9d0cc3
This commit is contained in:
parent
94d0d29f52
commit
52edb0e780
@ -26,7 +26,7 @@
|
||||
shell: |
|
||||
dnf install -y {{ rhos_release_rpm }}
|
||||
rhos-release {{ osp_release }}
|
||||
when: "('controller' in group_names) or ('compute' in group_names) and ansible_distribution_major_version == '8'"
|
||||
when: ('controller' in group_names or 'compute' in group_names) and ansible_distribution_major_version == '8'
|
||||
become: yes
|
||||
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user