xoxys.smb/index.md
Robert Kaussow 4d6d59148c commit bc69b5d35c
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 15:35:29 2020 +0100

    fix wording
2020-01-26 14:38:22 +00:00

1.2 KiB

title type
smb docs

Source Code Build Status License: MIT

Mount a list of Samba shares.


Default Variables

smb_packages

Default value

smb_packages:
  - cifs-utils

smb_shares

Add mount defined samba shares. You can specify samba credentials with username/password parameter. Credentials will be used in a credentials file and saved to /root/.smbcredentials/ and not in the fstab directly.

Default value

smb_shares: []

Example usage

smb_shares:
  - name: multimedia
    source: //share.example.com/media
    username: myuser
    password: secure
    mountpoint: /media/data
    mountopts:
      - acl
      - uid=1000
      - gid=1000
    state: mounted

Dependencies

None.