summaryrefslogtreecommitdiffstats
path: root/roles/mount/meta
diff options
context:
space:
mode:
Diffstat (limited to 'roles/mount/meta')
-rw-r--r--roles/mount/meta/argument_specs.yml20
-rw-r--r--roles/mount/meta/main.yml11
2 files changed, 31 insertions, 0 deletions
diff --git a/roles/mount/meta/argument_specs.yml b/roles/mount/meta/argument_specs.yml
new file mode 100644
index 00000000..e74c1610
--- /dev/null
+++ b/roles/mount/meta/argument_specs.yml
@@ -0,0 +1,20 @@
+---
+argument_specs:
+ main:
+ options:
+ mount_device:
+ type: "str"
+ description: "Device to mount (e.g. PARTLABEL=backup)"
+ required: true
+ mount_point:
+ type: "str"
+ description: "Mount point for the drive"
+ default: "/mnt/backup"
+ mount_fstype:
+ type: "str"
+ description: "Filesystem type of the device"
+ default: "ext4"
+ mount_options:
+ type: "str"
+ description: "Mount options for the device"
+ default: "defaults,noatime"
diff --git a/roles/mount/meta/main.yml b/roles/mount/meta/main.yml
new file mode 100644
index 00000000..ccb8c2a9
--- /dev/null
+++ b/roles/mount/meta/main.yml
@@ -0,0 +1,11 @@
+---
+dependencies: []
+galaxy_info:
+ author: "a14m"
+ description: "Mount a drive"
+ license: "MIT"
+ min_ansible_version: "2.18"
+ platforms:
+ - name: "Debian"
+ versions:
+ - "bookworm"