changeset 2 | 2556522a2a45 |
parent 1 | fd351734f007 |
child 3 | 0dc5400538ef |
--- a/roles/block-device/tasks/main.yaml Sun Feb 09 11:59:05 2020 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ ---- - -- name: create mount point - become: yes - file: - path: "{{block_device_mount_point}}" - mode: "{{block_device_mode}}" - state: "directory" - -- name: mount block device - become: yes - mount: - path: "{{block_device_mount_point}}" - src: "{{block_device_uuid}}" - fstype: "{{block_device_fstype}}" - opts: "{{block_device_opts}}" - state: "mounted"