mirror of https://github.com/easzlab/kubeasz.git
fix 执行roles/cluster-storage/cluster-storage.yml
parent
20f4880519
commit
bf153923a2
|
@ -1,3 +1,3 @@
|
||||||
- hosts: deploy
|
- hosts: localhost
|
||||||
roles:
|
roles:
|
||||||
- cluster-storage
|
- cluster-storage
|
||||||
|
|
|
@ -15,4 +15,4 @@
|
||||||
# shell: "{{ bin_dir }}/kubectl apply -f {{ base_dir }}/manifests/storage/alicloud-nas/alicloud-disk.yaml"
|
# shell: "{{ bin_dir }}/kubectl apply -f {{ base_dir }}/manifests/storage/alicloud-nas/alicloud-disk.yaml"
|
||||||
|
|
||||||
- name: 开始部署alicloud-nas动态存储
|
- name: 开始部署alicloud-nas动态存储
|
||||||
shell: "{{ bin_dir }}/kubectl apply -f /opt/kube/kube-system/storage/alicloud-nas/{{ storage.aliyun_nas.controller_name }}.yaml"
|
shell: "{{ base_dir }}/bin/kubectl apply -f /opt/kube/kube-system/storage/alicloud-nas/{{ storage.aliyun_nas.controller_name }}.yaml"
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
dest: "{{ base_dir }}/manifests/storage/nfs/{{ storage.nfs.provisioner_name }}.yaml"
|
dest: "{{ base_dir }}/manifests/storage/nfs/{{ storage.nfs.provisioner_name }}.yaml"
|
||||||
|
|
||||||
- name: 开始部署nfs-client动态存储
|
- name: 开始部署nfs-client动态存储
|
||||||
shell: "{{ bin_dir }}/kubectl apply -f {{ base_dir }}/manifests/storage/nfs/{{ storage.nfs.provisioner_name }}.yaml"
|
shell: "{{ base_dir }}/bin/kubectl apply -f {{ base_dir }}/manifests/storage/nfs/{{ storage.nfs.provisioner_name }}.yaml"
|
||||||
|
|
Loading…
Reference in New Issue