# opencloud Deploys [OpenCloud](https://opencloud.eu/) (`opencloudeu/opencloud`) as a self-contained file platform via Docker Compose behind Traefik. Supports the built-in IdP or external OIDC, optional S3 storage, external LDAP, Collabora and draw.io integration, and OIDC-claim-based role assignment. ## Role variables A selection of the most relevant variables — see [defaults/main.yml](defaults/main.yml) for the full set. | Variable | Default | Description | | --- | --- | --- | | `opencloud_domain` | `opencloud.local.test` | FQDN the Traefik router matches. | | `opencloud_image` | `opencloudeu/opencloud:latest` | Container image. | | `opencloud_port` | `9200` | Container port Traefik forwards to. | | `opencloud_admin_password` | `admin` | Initial admin password — **override this**. | | `opencloud_traefik_network` | `proxy` | Docker network shared with Traefik. | | `opencloud_use_ssl` | `true` | Enable the TLS resolver on the router. | | `opencloud_oidc_issuer` | `""` | External OIDC issuer; empty uses the built-in IdP. | | `opencloud_use_s3_storage` | `false` | Use S3 storage instead of local disk. | | `opencloud_ldap_uri` | `""` | External LDAP URI; empty uses the built-in directory. | | `opencloud_collabora_domain` | `""` | Collabora server domain; set with `opencloud_wopi_domain` to enable editing. | | `opencloud_wopi_domain` | `""` | WOPI server FQDN; required alongside `opencloud_collabora_domain`. | | `opencloud_drawio_url` | `""` | draw.io URL; set to enable diagram editing. | | `opencloud_role_assignment_driver` | `default` | Set to `oidc` to map OIDC claims to roles. | ## Example ```yaml - hosts: services become: true roles: - role: digitalboard.core.opencloud vars: opencloud_domain: "opencloud.example.com" opencloud_admin_password: "{{ vault_opencloud_admin_password }}" ``` ## License MIT-0