Compare commits

..

3 Commits

Author SHA1 Message Date
991b8c635c chore: bump version to 0.4.0
- Adds the role `ldap_user_backend` for managing ldap authentication backends in nextcloud
- Allow checking integrity of nextcloud apps
- Allow specifying type for server settings, avoid leaking secrets in ansible task names
2021-11-26 07:57:16 +01:00
63f45dc193 chore(server): do not leak secrets in ansible task names 2021-11-26 07:55:46 +01:00
c56b82121b chore(server): do not check mode when retrieving current config setting 2021-11-26 07:54:54 +01:00
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
namespace: finallycoffee
name: nextcloud
version: 0.3.0
version: 0.4.0
readme: README.md
authors:
- Johanna Dorothea Reichmann <transcaffeine@finallycoffee.eu>

View File

@ -1,6 +1,6 @@
---
- name: Ensure {{ key }} is set to {{ value }}
- name: Ensure {{ key }} is set to {{ '***' if ['pass', 'secret', 'key']|select('in', key) else value }}
block:
- name: Check value of {{ key }}
community.docker.docker_container_exec:
@ -9,9 +9,10 @@
user: "{{ nextcloud_user_info.uid }}"
tty: yes
register: nextcloud_current_config_entry
check_mode: false
changed_when: false
- name: Set {{ key }} to {{ value }}
- name: Set {{ key }} to {{ '***' if (['pass', 'secret', 'key']|select('in', key)) else value }}
community.docker.docker_container_exec:
container: "{{ nextcloud_container_name }}"
command: "{{ nextcloud_occ_command }} config:{{ type }}:set {{ scope }} {{ entry }} --type={{ value_type }} --value={{ value }} -n"