diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-01-25 10:44:50 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-01-25 10:44:50 +0100 |
commit | f9d95ad3434738ce7b372c7dad70dba136c0da17 (patch) | |
tree | 66155f5b23492078e5a7c46924b675b0263e2908 /roles/kubernetes-base/tasks | |
parent | some clenaup and minor improvments (diff) | |
parent | rename k8s-stream group to k8s-emc (diff) |
merged
Diffstat (limited to 'roles/kubernetes-base/tasks')
-rw-r--r-- | roles/kubernetes-base/tasks/main.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/kubernetes-base/tasks/main.yaml b/roles/kubernetes-base/tasks/main.yaml index 171375dd..3cc9cecf 100644 --- a/roles/kubernetes-base/tasks/main.yaml +++ b/roles/kubernetes-base/tasks/main.yaml @@ -12,11 +12,11 @@ - name: create filesystem filesystem: fstype: "{{ kubelet_lvm.fs }}" - dev: "/dev/mapper/{{ kubelet_lvm.vg }}-{{ kubelet_lvm.lv }}" + dev: "/dev/mapper/{{ kubelet_lvm.vg | replace('-', '--') }}-{{ kubelet_lvm.lv | replace('-', '--') }}" - name: mount filesytem mount: - src: "/dev/mapper/{{ kubelet_lvm.vg }}-{{ kubelet_lvm.lv }}" + src: "/dev/mapper/{{ kubelet_lvm.vg | replace('-', '--') }}-{{ kubelet_lvm.lv | replace('-', '--') }}" path: /var/lib/kubelet fstype: "{{ kubelet_lvm.fs }}" state: mounted |