base-test: fix typos in centos-8 detection

We don't need to quote the when: statements.  Follow-on to
I84fe5bca76884d8f258a292d0814ad43ac7f2be1.

Change-Id: Ieb114467dea3be0a0ec7a96fbd10ba47f7f00cac
This commit is contained in:
Ian Wienand 2022-02-10 09:59:15 +11:00
parent b16e29083a
commit aa27a8920f

View File

@ -23,8 +23,8 @@
fail:
msg: "The centos-8 node type is no longer supported. You need to switch this job to use a centos-8-stream node type."
when:
- "{{ item }} == 'centos-8'"
- "hostvars[item]['nodepool']['label'] == 'centos-8-stream'"
- item == 'centos-8'
- hostvars[item]['nodepool']['label'] == 'centos-8-stream'
loop: "{{ query('inventory_hostnames', 'all,!localhost') }}"
- hosts: all