rolehippie.storage

storage

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to mount remote CIFS storage.

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

storage_credentials

Path to credentials file

Default value

storage_credentials: /etc/smbpasswd

storage_dir_mode

Mode for directories

Default value

storage_dir_mode: '0770'

storage_file_mode

Mode for files

Default value

storage_file_mode: '0660'

storage_gid

Group for the mount

Default value

storage_gid: root

storage_options

Mount options for fstab

Default value

storage_options:
  - noauto
  - nofail
  - x-systemd.automount
  - x-systemd.requires=network-online.target
  - x-systemd.device-timeout=10
  - vers=3.0
  - mfsymlinks
  - uid={{ storage_uid }}
  - gid={{ storage_gid }}
  - dir_mode={{ storage_dir_mode }}
  - file_mode={{ storage_file_mode }}
  - workgroup=workgroup
  - credentials={{ storage_credentials }}

storage_password

Password for CIFS

Default value

storage_password:

storage_path

Path to mount to

Default value

storage_path:

storage_server

Server to connect via CIFS

Default value

storage_server:

storage_share

Share name of CIFS storage

Default value

storage_share: backup

storage_uid

User for the mount

Default value

storage_uid: root

storage_username

Username for CIFS

Default value

storage_username:

Discovered Tags

storage

Dependencies

License

Apache-2.0

Author

Thomas Boerger

About

Ansible role to mount remote CIFS storage

Install
ansible-galaxy install rolehippie.storage
GitHub repository
License
apache-2.0
Downloads
240
Owner
Ansible role collection of Webhippie