2018-07-20 14:56:38 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_private_key"
|
|
|
|
fail:
|
|
|
|
msg: "oci_private_key is missing"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- not oci_use_instance_principals
|
|
|
|
- oci_private_key is not defined or not oci_private_key
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_region_id"
|
|
|
|
fail:
|
|
|
|
msg: "oci_region_id is missing"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- not oci_use_instance_principals
|
|
|
|
- oci_region_id is not defined or not oci_region_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_tenancy_id"
|
|
|
|
fail:
|
|
|
|
msg: "oci_tenancy_id is missing"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- not oci_use_instance_principals
|
|
|
|
- oci_tenancy_id is not defined or not oci_tenancy_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_user_id"
|
|
|
|
fail:
|
|
|
|
msg: "oci_user_id is missing"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- not oci_use_instance_principals
|
|
|
|
- oci_user_id is not defined or not oci_user_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_user_fingerprint"
|
|
|
|
fail:
|
|
|
|
msg: "oci_user_fingerprint is missing"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- not oci_use_instance_principals
|
|
|
|
- oci_user_fingerprint is not defined or not oci_user_fingerprint
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_compartment_id"
|
|
|
|
fail:
|
|
|
|
msg: "oci_compartment_id is missing. This is the compartment in which the cluster resides"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- oci_compartment_id is not defined or not oci_compartment_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_vnc_id"
|
|
|
|
fail:
|
2019-10-02 11:41:07 +00:00
|
|
|
msg: "oci_vnc_id is missing. This is the Virtual Cloud Network in which the cluster resides"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- oci_vnc_id is not defined or not oci_vnc_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_subnet1_id"
|
|
|
|
fail:
|
2019-09-26 11:25:08 +00:00
|
|
|
msg: "oci_subnet1_id is missingg. This is the first subnet to which loadbalancers will be added"
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- oci_subnet1_id is not defined or not oci_subnet1_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_subnet2_id"
|
|
|
|
fail:
|
|
|
|
msg: "oci_subnet2_id is missing. Two subnets are required for load balancer high availability"
|
2019-02-11 20:08:53 +00:00
|
|
|
when:
|
2019-12-05 15:24:32 +00:00
|
|
|
- oci_cloud_controller_version is version_compare('0.7.0', '<')
|
2019-04-29 06:00:20 +00:00
|
|
|
- oci_subnet2_id is not defined or not oci_subnet2_id
|
2018-07-20 14:56:38 +00:00
|
|
|
|
|
|
|
- name: "OCI Cloud Controller | Credentials Check | oci_security_list_management"
|
|
|
|
fail:
|
|
|
|
msg: "oci_security_list_management is missing, or not defined correctly. Valid options are (All, Frontend, None)."
|
2019-04-29 06:00:20 +00:00
|
|
|
when:
|
|
|
|
- oci_security_list_management is not defined or oci_security_list_management not in ["All", "Frontend", "None"]
|