Skip to content
Markus Bergholz edited this page Aug 2, 2021 · 19 revisions

markuman.nextcloud

Install

ansible-galaxy collection install markuman.nextcloud

requirements:
  • ansible >= 2.9.6

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

callback plugins

  • talk - writes playbook output to a nextcloud talk conversation

Developing / Testing / Hacking

Clone this wiki locally