From 6f88a8131e7edf5aa8f38fc90e35cb597ec6a0d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Chavero?= Date: Tue, 12 Mar 2024 00:28:29 -0600 Subject: [PATCH] =?UTF-8?q?Agregu=C3=A9=20aplicaci=C3=B3n=20de=20calendari?= =?UTF-8?q?o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nextcloud/ansible/roles/nextcloud/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nextcloud/ansible/roles/nextcloud/tasks/main.yml b/nextcloud/ansible/roles/nextcloud/tasks/main.yml index c98085c..1ae75aa 100644 --- a/nextcloud/ansible/roles/nextcloud/tasks/main.yml +++ b/nextcloud/ansible/roles/nextcloud/tasks/main.yml @@ -383,6 +383,15 @@ - redis - notify_push +- name: Enable Nextcloud Calendar + ansible.builtin.shell: + cmd: | + /usr/bin/php "{{ nextcloud_occ }}" app:install -f calendar + /usr/bin/php "{{ nextcloud_occ }}" app:enable calendar + become: true + become_user: "{{ web_user }}" + #when: (ansible_distribution == "Debian" and ansible_distribution_version != "10") or ansible_distribution == "RedHat" + - name: Remove config_is_read_only setting from config.php lineinfile: path: "{{ nextcloud_path }}/config/config.php"