Merge "Check for specific error messages in ironic version check"
This commit is contained in:
commit
5451bd05c7
|
@ -61,7 +61,12 @@
|
|||
baremetal node list
|
||||
register: api_version_result
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
failed_when:
|
||||
- api_version_result.rc != 0
|
||||
# 'invalid choice' if the client doesn't support 1.34.
|
||||
- "'invalid choice' not in api_version_result.stderr"
|
||||
# 'not supported' if the server doesn't support 1.34.
|
||||
- "'not supported' not in api_version_result.stderr"
|
||||
|
||||
# This is used in port.yml.
|
||||
- name: Set a fact about whether Ironic supports physical network awareness
|
||||
|
|
Loading…
Reference in New Issue