diff options
| author | Luke Hoersten <[email protected]> | 2020-02-09 12:05:37 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-02-09 12:05:37 -0600 |
| commit | 1cb30cc0aa4fda9bf0bac0b41ace862b1db434b8 (patch) | |
| tree | e4b27462ba4b8b249bb5eaac4b4be0006ca0392c /block-device/tasks | |
| parent | 195a4a3fcf65bf47ecb1a0ea2a9fb070c18eb20f (diff) | |
Moved roles to top level
Diffstat (limited to 'block-device/tasks')
| -rw-r--r-- | block-device/tasks/main.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/block-device/tasks/main.yaml b/block-device/tasks/main.yaml new file mode 100644 index 0000000..8d0b894 --- /dev/null +++ b/block-device/tasks/main.yaml @@ -0,0 +1,17 @@ +--- + +- 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" |
