Fixup for gce_centos7-flannel-addons
This commit is contained in:
parent
deef47c923
commit
d4c61d2628
2 changed files with 3 additions and 11 deletions
|
@ -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 a new issue