mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
resolve issues with new cacert feature
This commit is contained in:
@@ -311,17 +311,3 @@
|
||||
- ansible_distribution in ["CentOS","RedHat"]
|
||||
tags:
|
||||
- bootstrap-os
|
||||
|
||||
- name: Write cacert file
|
||||
copy:
|
||||
content: "{{ openstack_cacert }}"
|
||||
dest: "{{ kube_config_dir }}/openstack-cacert.pem"
|
||||
group: "{{ kube_cert_group }}"
|
||||
mode: 0640
|
||||
when:
|
||||
- inventory_hostname in groups['k8s-cluster']
|
||||
- cloud_provider is defined
|
||||
- cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
|
||||
- openstack_cacert is defined
|
||||
tags:
|
||||
- cloud-provider
|
||||
|
||||
Reference in New Issue
Block a user