From 1920b3c14990a49a5f7311730ca3f559cabf07d9 Mon Sep 17 00:00:00 2001 From: debfranca Date: Fri, 6 Dec 2019 17:33:08 +0100 Subject: [PATCH] Added comment on install roundcube --- library/roles/roundcube/tasks/roundcube-install.yml | 4 ++-- library/roles/roundcube/tasks/roundcube-nginx.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/roles/roundcube/tasks/roundcube-install.yml b/library/roles/roundcube/tasks/roundcube-install.yml index f5d2fd6f..25bf7721 100644 --- a/library/roles/roundcube/tasks/roundcube-install.yml +++ b/library/roles/roundcube/tasks/roundcube-install.yml @@ -4,7 +4,7 @@ file: dest={{ roundcube_web_basedir }} owner=root group=root state=directory - name: Create the roundcube data directory - file: dest={{ nextcloud_data_dir }} state=directory owner={{ item.user }} group={{ item.user }} + file: dest={{ roundcube_data_dir }} state=directory owner={{ item.user }} group={{ item.user }} with_items: '{{ phpfpm_pools }}' - name: Get roundcube @@ -30,7 +30,7 @@ args: creates: '{{ roundcube_data_dir }}/.ht_roundcube_trusted_domains' with_items: '{{ roundcube_servernames }}' - +/* DA QUI IN POI DA CONTROLLARE */ - name: Setup the cron configuration shell: cd {{ item.webroot }} ; php occ background:cron ; touch {{ roundcube_data_dir }}/.ht_roundcube_cron args: diff --git a/library/roles/roundcube/tasks/roundcube-nginx.yml b/library/roles/roundcube/tasks/roundcube-nginx.yml index 4c43aa9d..b65e5f7f 100644 --- a/library/roles/roundcube/tasks/roundcube-nginx.yml +++ b/library/roles/roundcube/tasks/roundcube-nginx.yml @@ -14,4 +14,4 @@ file: dest={{ nginx_client_body_temp_dir }} state=directory owner=www-data group=www-data mode=1700 when: nginx_client_body_temp_dir is defined - tags: [ 'nginx', 'virtualhost', 'nextcloud' ] + tags: [ 'nginx', 'virtualhost', 'roundcube' ]