Fixup for gce_centos7-flannel-addons
parent
deef47c923
commit
d4c61d2628
|
@ -171,8 +171,8 @@ registry_enabled: false
|
|||
# Local volume provisioner deployment
|
||||
local_volume_provisioner_enabled: false
|
||||
# local_volume_provisioner_namespace: "{{ system_namespace }}"
|
||||
# local_volume_provisioner_base_dir: /mnt/disks
|
||||
# local_volume_provisioner_mount_dir: /local-disks
|
||||
local_volume_provisioner_base_dir: /mnt/disks
|
||||
local_volume_provisioner_mount_dir: /mnt/disks
|
||||
# local_volume_provisioner_storage_class: local-storage
|
||||
|
||||
# CephFS provisioner deployment
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue