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:
Sai Sindhur Malleni 2019-09-05 14:05:23 -04:00
parent 94d0d29f52
commit 52edb0e780
1 changed files with 1 additions and 1 deletions

View File

@ -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
#