2020-01-25 23:09:27 +00:00
|
|
|
---
|
|
|
|
smb_packages:
|
|
|
|
- cifs-utils
|
|
|
|
|
|
|
|
# @var smb_shares:description: >
|
2020-01-26 15:21:00 +00:00
|
|
|
# Mount defined samba shares. You can specify samba credentials with the
|
|
|
|
# `username` and `password` parameter. Given credentials will be used in a secrets file
|
|
|
|
# and saved to `/root/.smbcredentials/<name>` instead of the direct use in `/etc/fstab`.
|
|
|
|
# If secrets are defined for a list item, the secrest file will also be passed automatically
|
|
|
|
# to `mountopts`.
|
|
|
|
#
|
|
|
|
# The `state` parameter is related to the possible state values of Ansibles
|
2021-02-21 14:41:21 +00:00
|
|
|
# [mount](https://docs.ansible.com/ansible/latest/collections/ansible/posix/mount_module.html) module.
|
2020-01-26 15:21:00 +00:00
|
|
|
# @end
|
2020-01-25 23:09:27 +00:00
|
|
|
|
|
|
|
# @var smb_shares:example: >
|
|
|
|
# smb_shares:
|
|
|
|
# - name: multimedia
|
|
|
|
# source: //share.example.com/media
|
|
|
|
# username: myuser
|
|
|
|
# password: secure
|
|
|
|
# mountpoint: /media/data
|
|
|
|
# mountopts:
|
|
|
|
# - acl
|
|
|
|
# - uid=1000
|
|
|
|
# - gid=1000
|
|
|
|
# state: mounted
|
2020-01-26 15:21:00 +00:00
|
|
|
# @end
|
2020-01-25 23:09:27 +00:00
|
|
|
smb_shares: []
|