From 4d7de89ad4cfa90e6be094c1385677e6a213c192 Mon Sep 17 00:00:00 2001 From: Alexis Ben Miloud--Josselin Date: Thu, 7 Dec 2023 10:18:09 +0100 Subject: [PATCH] webapps/nextcloud: Add condition for config tasks And update CHANGELOG --- CHANGELOG.md | 3 +++ webapps/nextcloud/defaults/main.yml | 2 ++ webapps/nextcloud/tasks/main.yml | 1 + 3 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5695a6e7..a461c120 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,8 @@ The **patch** part changes is incremented if multiple releases happen the same m * nagios-nrpe: add check_sentinel for monitoring Redis Sentinel * webapps/nextcloud: Added var nextcloud_user_uid to enforce uid for nextcloud user * etc-git: add /var/chroot-bind/etc/bind repo +* webapps/nextcloud: Set ownership and permissions of data directory +* webapps/nextcloud: Add condition for config tasks ### Changed @@ -35,6 +37,7 @@ The **patch** part changes is incremented if multiple releases happen the same m * proftpd: in SFTP vhost, enable SSH keys login, enable ed25549 host key for Debian >= 11 * vrrpd: variable to force update the switch script (default: false) * dovecot: Munin plugin conf path is now `/etc/munin/plugin-conf.d/zzz-dovecot` (instead of `z-evolinux-dovecot`) +* webapps/nextcloud: Add Ceph volume to fstab ### Fixed diff --git a/webapps/nextcloud/defaults/main.yml b/webapps/nextcloud/defaults/main.yml index 72ce812d..ca42901e 100644 --- a/webapps/nextcloud/defaults/main.yml +++ b/webapps/nextcloud/defaults/main.yml @@ -17,3 +17,5 @@ nextcloud_db_name: "{{ nextcloud_instance_name }}" nextcloud_admin_login: "admin" nextcloud_admin_password: "" + +nextcloud_do_config: True diff --git a/webapps/nextcloud/tasks/main.yml b/webapps/nextcloud/tasks/main.yml index 02304334..5329646e 100644 --- a/webapps/nextcloud/tasks/main.yml +++ b/webapps/nextcloud/tasks/main.yml @@ -54,3 +54,4 @@ - ansible.builtin.include: mysql-user.yml - ansible.builtin.include: config.yml + when: nextcloud_do_config