Skip to content
Snippets Groups Projects
Unverified Commit cb7c30a4 authored by Kenichi Omichi's avatar Kenichi Omichi Committed by GitHub
Browse files

Fix cloud_provider check (#8164)

This fixes the preinstall check for cloud_provider option based on
inventory/sample/group_vars/all/all.yml
parent 8922c455
No related branches found
No related tags found
No related merge requests found
......@@ -183,8 +183,8 @@
- name: check cloud_provider value
assert:
that: cloud_provider in ['generic', 'gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci', 'external']
msg: "If set the 'cloud_provider' var must be set either to 'generic', 'gce', 'aws', 'azure', 'openstack', 'vsphere', or external"
that: cloud_provider in ['gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci', 'external']
msg: "If set the 'cloud_provider' var must be set either to 'gce', 'aws', 'azure', 'openstack', 'vsphere', 'oci' or 'external'"
when:
- cloud_provider is defined
- not ignore_assert_errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment