Removing cloud_provider tag to fix scenario where cloud_provider is not defined
This commit is contained in:
parent
85596c2610
commit
d04fbf3f78
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
- include: "{{ cloud_provider }}-credential-check.yml"
|
- include: "{{ cloud_provider }}-credential-check.yml"
|
||||||
when: cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
|
when: cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
|
||||||
tags: [cloud-provider, "{{ cloud_provider }}", facts]
|
tags: [cloud-provider, facts]
|
||||||
|
|
||||||
- name: Create cni directories
|
- name: Create cni directories
|
||||||
file:
|
file:
|
||||||
|
@ -182,7 +182,7 @@
|
||||||
group: "{{ kube_cert_group }}"
|
group: "{{ kube_cert_group }}"
|
||||||
mode: 0640
|
mode: 0640
|
||||||
when: inventory_hostname in groups['k8s-cluster'] and cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
|
when: inventory_hostname in groups['k8s-cluster'] and cloud_provider is defined and cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
|
||||||
tags: [cloud-provider, "{{ cloud_provider }}"]
|
tags: [cloud-provider]
|
||||||
|
|
||||||
- include: etchosts.yml
|
- include: etchosts.yml
|
||||||
tags: [bootstrap-os, etchosts]
|
tags: [bootstrap-os, etchosts]
|
||||||
|
|
Loading…
Reference in a new issue