xoxys.smb/index.md
Robert Kaussow a7fa0ff228 commit 3fd2e1ba9d
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 00:09:27 2020 +0100

    initial commit
2020-01-25 23:14:22 +00:00

1.2 KiB

title type
smb docs

Build Status License: MIT Source Code

Mount a list of smb 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.