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:
parent
b16e29083a
commit
aa27a8920f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user