diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-10-23 01:16:06 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-10-23 01:16:06 +0200 |
commit | 559e51d94ceb081c56e9f0560eb6ba32ecb7ca2f (patch) | |
tree | d0df023ded115c0dc8bc894798d17b70491290c3 /roles/docker/tasks/lvm.yml | |
parent | move nodejs apt-repo to separate role (diff) |
split docker role into apt-repo and engine
Diffstat (limited to 'roles/docker/tasks/lvm.yml')
-rw-r--r-- | roles/docker/tasks/lvm.yml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/roles/docker/tasks/lvm.yml b/roles/docker/tasks/lvm.yml deleted file mode 100644 index 34cbab0f..00000000 --- a/roles/docker/tasks/lvm.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -- name: create logical volume - lvol: - vg: "{{ docker_lvm.vg }}" - lv: "{{ docker_lvm.lv }}" - size: "{{ docker_lvm.size }}" - -- name: create filesystem - filesystem: - fstype: "{{ docker_lvm.fs }}" - dev: "/dev/mapper/{{ docker_lvm.vg | replace('-', '--') }}-{{ docker_lvm.lv | replace('-', '--') }}" - -- name: mount filesytem - mount: - src: "/dev/mapper/{{ docker_lvm.vg | replace('-', '--') }}-{{ docker_lvm.lv | replace('-', '--') }}" - path: /var/lib/docker - fstype: "{{ docker_lvm.fs }}" - state: mounted |