8 Home
Markus Bergholz edited this page 1 week ago

markuman.nextcloud

Install

ansible-galaxy collection install markuman.nextcloud

Authentication

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

ssl_mode parameters default value is https.

  • Possible values https, http, skip (skips ssl verification)

Modules

lookup plugins

Developing / Testing / Hacking