Merge pull request #3089 from mattymo/cloudconfig

Remove erroneous cloud-config task
This commit is contained in:
Antoine Legrand 2018-08-16 16:17:01 +02:00 committed by GitHub
commit 58ee5f1cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -325,16 +325,3 @@
- openstack_cacert is defined - openstack_cacert is defined
tags: tags:
- cloud-provider - cloud-provider
- name: Write cloud-config
template:
src: "{{ cloud_provider }}-cloud-config.j2"
dest: "{{ kube_config_dir }}/cloud_config"
group: "{{ kube_cert_group }}"
mode: 0640
when:
- inventory_hostname in groups['k8s-cluster']
- cloud_provider is defined
- cloud_provider in [ 'openstack', 'azure', 'vsphere' ]
tags:
- cloud-provider