ansible-galaxy collection install markuman.nextcloud
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
api_token can also be set via ENV variable.
|Ansible Parameter||ENV Variable|
ssl_mode parameters default value is
- Possible values
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