Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Thu Mar 3 21:16:05 2022 +0100

    chore: add auto-generated _docs folder to gitignore file
This commit is contained in:
Robert Kaussow 2022-03-03 20:34:21 +00:00
parent ef8efe5413
commit 380dbd7c39

View File

@ -7,10 +7,10 @@ type: docs
Mount a list of Samba shares.
* [Default Variables](#default-variables)
* [smb_packages](#smb_packages)
* [smb_shares](#smb_shares)
* [Dependencies](#dependencies)
- [Default Variables](#default-variables)
- [smb_packages](#smb_packages)
- [smb_shares](#smb_shares)
- [Dependencies](#dependencies)
---
@ -27,7 +27,9 @@ smb_packages:
### 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/` 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.
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
@ -51,6 +53,8 @@ smb_shares:
state: mounted
```
## Dependencies
None.