Fixup for gce_centos7-flannel-addons

This commit is contained in:
Wong Hoi Sing Edison
2018-02-19 16:43:18 +08:00
parent deef47c923
commit d4c61d2628
2 changed files with 3 additions and 11 deletions

View File

@@ -60,15 +60,7 @@
- "{{ kube_config_dir }}/ssl"
- "{{ kube_manifest_dir }}"
- "{{ kube_script_dir }}"
- name: Create local volume provisioner base dir
file:
path: "{{ local_volume_provisioner_base_dir }}"
state: directory
owner: kube
when:
- inventory_hostname in groups['k8s-cluster']
- local_volume_provisioner_enabled == true
- "{{ local_volume_provisioner_base_dir }}"
- name: check cloud_provider value
fail: