14
Home
m edited this page 4 months ago
markuman.nextcloud
Install
ansible-galaxy collection install markuman.nextcloud
requirements:
- ansible >= 2.9.10
Authentication
Every module and plugin supports the following parameters for authentication and communication with your nextcloud instance.
module_defaults:
markuman.nextcloud.file:
host: localhost
user: ansible
api_token: nextcloud_collection
ssl_mode: skip
However, host
, user
and api_token
can also be set via ENV variable.
Ansible Parameter | ENV Variable |
---|---|
host |
NEXTCLOUD_HOST |
user |
NEXTCLOUD_USER |
api_token |
NEXTCLOUD_TOKEN |
ssl_mode |
NEXTCLOUD_SSL_MODE |
ssl_mode
ssl_mode
parameters default value is https
.
- Possible values
https
,http
,skip
(skips ssl verification)
Modules
file
- download, upload and delete filesfile_info
- collect information about files and folderstalk
- post messages in conversationsuser_info
- list nextcloud userspassword
- create, update and delete passwordspassword_info
- read-out passwords details
lookup plugins
passwords
- read-out passwordsgenerate_password
- receive random generated random password from passwords
callback plugins
talk
- writes playbook output to a nextcloud talk conversation
Install Role
- Role
markuman.nextcloud
- to install nextcloud