debops.mount default variables

General configuration

mount__enabled

Enable or disable support for local device mounts, bind mounts and custom directories.

mount__enabled: '{{ True
                    if (((ansible_system_capabilities_enforced|d())|bool and
                         "cap_sys_admin" in ansible_system_capabilities) or
                        not (ansible_system_capabilities_enforced|d(True))|bool)
                    else False }}'
mount__base_packages

List of APT packages to install for correct filesystem management.

mount__base_packages: '{{ [ "acl" ]
                          if (((mount__directories
                                + mount__group_directories
                                + mount__host_directories)
                               | flatten) | selectattr("acl", "defined") | list
                               | subelements("acl"))
                          else [] }}'
mount__packages

List of additional APT packages to install for filesystem management.

mount__packages: []

Device mounts

These variables control local device mounts, usually external disk drives, LVM block devices or other storage. See mount__devices for more details.

mount__devices

Define local mounts for all hosts in the Ansible inventory.

mount__devices: []
mount__group_devices

Define local mounts for hosts in a specific Ansible inventory group.

mount__group_devices: []
mount__host_devices

Define local mounts for specific hosts in the Ansible inventory.

mount__host_devices: []

Custom directories

These variables can be used to create custom directories on mounted filesystems with specific permissions, ACLs, etc. See mount__directories for more details.

mount__directories

List of directories to manage on all hosts in the Ansible inventory.

mount__directories: []
mount__group_directories

List of directories to manage on hosts in a specific Ansible inventory group.

mount__group_directories: []
mount__host_directories

List of directories to manage on specific hosts in the Ansible inventory.

mount__host_directories: []

Manage custom files

These variables can be used to create custom files that can hold credentials and can be referenced in the /etc/fstab database.

See resources__files for more details (the same syntax is used in both roles).

mount__files

Manage file contents on all hosts in Ansible inventory.

mount__files: []
mount__group_files

Manage file contents on hosts in a specific group in Ansible inventory.

mount__group_files: []
mount__host_files

Manage file contents on specific hosts in Ansible inventory.

mount__host_files: []

Bind mounts

These variables define configuration of bind mounts, separately from normal filesystems to allow bind-mounting of existing directories. See mount__binds for more details.

mount__binds

Define bind mounts for all hosts in the Ansible inventory.

mount__binds: []
mount__group_binds

Define bind mounts for hosts in a specific Ansible inventory group.

mount__group_binds: []
mount__host_binds

Define bind mounts for specific hosts in the Ansible inventory.

mount__host_binds: []