Skip to content
Snippets Groups Projects
Commit e4eda88c authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by GitHub
Browse files

Merge pull request #944 from tureus/skip-cloud-config-on-etcd

Bugfix: skip cloud_config on etcd
parents 71a3c97d e5fdc63b
Branches
Tags
No related merge requests found
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
dest: "{{ kube_config_dir }}/cloud_config" dest: "{{ kube_config_dir }}/cloud_config"
group: "{{ kube_cert_group }}" group: "{{ kube_cert_group }}"
mode: 0640 mode: 0640
when: cloud_provider is defined and cloud_provider == "openstack" when: inventory_hostname in groups['k8s-cluster'] and cloud_provider is defined and cloud_provider == "openstack"
tags: [cloud-provider, openstack] tags: [cloud-provider, openstack]
- name: Write azure cloud-config - name: Write azure cloud-config
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
dest: "{{ kube_config_dir }}/cloud_config" dest: "{{ kube_config_dir }}/cloud_config"
group: "{{ kube_cert_group }}" group: "{{ kube_cert_group }}"
mode: 0640 mode: 0640
when: cloud_provider is defined and cloud_provider == "azure" when: inventory_hostname in groups['k8s-cluster'] and cloud_provider is defined and cloud_provider == "azure"
tags: [cloud-provider, azure] tags: [cloud-provider, azure]
- include: etchosts.yml - include: etchosts.yml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment