Compare commits

...

13 Commits
main ... docs

Author SHA1 Message Date
Robert Kaussow cba683c1ce commit a3c09437f8
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Mon Jun 20 22:20:36 2022 +0200

    chore: switch to main as default branch
2022-06-20 20:40:38 +00:00
Robert Kaussow 380dbd7c39 commit 3b4cecedc3
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Thu Mar 3 21:16:05 2022 +0100

    chore: add auto-generated _docs folder to gitignore file
2022-03-03 20:34:21 +00:00
Robert Kaussow ef8efe5413 commit 84d1b5eceb
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Feb 21 15:41:21 2021 +0100

    fix broken link to ansible docs
2021-02-21 14:49:31 +00:00
Robert Kaussow 935550352b commit 5a21a49808
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Thu Jun 4 15:15:58 2020 +0200

    fix link to the license file
2020-06-04 13:37:18 +00:00
Robert Kaussow daf2415dc0 commit 916de510eb
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Mon May 25 23:01:26 2020 +0200

    fix downstream repo
2020-05-25 21:24:31 +00:00
Robert Kaussow 62dbda14a0 commit 6dce72d18d
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Mon Jan 27 13:47:04 2020 +0100

    remove block storage attachment
2020-01-27 12:50:34 +00:00
Robert Kaussow 4371cbb903 commit eb4759a7d6
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 16:21:00 2020 +0100

    update var description
2020-01-26 15:24:04 +00:00
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
Robert Kaussow 205ec71324 commit b4806df97a
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 15:29:37 2020 +0100

    cleanup badges
2020-01-26 14:32:37 +00:00
Robert Kaussow 8cc372df6a commit 5d5f883230
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 01:14:09 2020 +0100

    fix gitea badge logo color
2020-01-26 00:16:53 +00:00
Robert Kaussow d922da7347 commit 3cf774f3f6
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 01:06:18 2020 +0100

    change drone build badge
2020-01-26 00:08:52 +00:00
Robert Kaussow 80ec983a81 commit b42d0dc279
Author: Robert Kaussow <mail@geeklabor.de>
Date:   Sun Jan 26 00:47:52 2020 +0100

    change badge order
2020-01-25 23:50:19 +00:00
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 changed files with 62 additions and 0 deletions

62
index.md Normal file
View File

@ -0,0 +1,62 @@
---
title: smb
type: docs
---
[![Source Code](https://img.shields.io/badge/gitea-source%20code-blue?logo=gitea&logoColor=white)](https://gitea.rknet.org/ansible/xoxys.smb) [![Build Status](https://img.shields.io/drone/build/ansible/xoxys.smb?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/ansible/xoxys.smb) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/ansible/xoxys.smb/src/branch/main/LICENSE)
Mount a list of Samba shares.
<!--more-->
- [Default Variables](#default-variables)
- [smb_packages](#smb_packages)
- [smb_shares](#smb_shares)
- [Dependencies](#dependencies)
---
## Default Variables
### smb_packages
#### Default value
```YAML
smb_packages:
- cifs-utils
```
### smb_shares
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 [mount](https://docs.ansible.com/ansible/latest/collections/ansible/posix/mount_module.html) module.
#### Default value
```YAML
smb_shares: []
```
#### Example usage
```YAML
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.