-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Markus Bergholz edited this page Aug 2, 2021
·
19 revisions
ansible-galaxy collection install markuman.nextcloud
- ansible >= 2.9.6
Evey 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
parameters default value is https
.
- Possible values
https
,http
,skip
(skips ssl verification)
-
file
- download, upload and delete files -
file_info
- collect information about files and folders -
talk
- post messages in conversations -
user_info
- list nextcloud users -
password
- create, update and delete passwords -
password_info
- read-out passwords details
-
passwords
- read-out passwords -
generate_password
- receive random generated random password from passwords
-
talk
- writes playbook output to a nextcloud talk conversation