♻: rename _local_path vars into _home vars
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
- name: Create application directory
|
||||
ansible.builtin.file:
|
||||
state: directory
|
||||
dest: "{{ roundcube_local_path }}"
|
||||
dest: "{{ roundcube_home }}"
|
||||
owner: "root"
|
||||
group: "www-data"
|
||||
mode: "0o750"
|
||||
@@ -12,7 +12,7 @@
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
src: "{{ roundcube_url }}"
|
||||
dest: "{{ roundcube_local_path }}"
|
||||
dest: "{{ roundcube_home }}"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "a-rwx,u+rwX,g+rX"
|
||||
@@ -32,7 +32,7 @@
|
||||
ansible.builtin.file:
|
||||
state: directory
|
||||
recurse: true
|
||||
dest: "{{ roundcube_local_path }}/{{ item }}"
|
||||
dest: "{{ roundcube_home }}/{{ item }}"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "g+w"
|
||||
|
@@ -4,7 +4,7 @@
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
src: "{{ roundcube_carddav_url }}"
|
||||
dest: "{{ roundcube_local_path }}/plugins"
|
||||
dest: "{{ roundcube_home }}/plugins"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "a-rwx,u+rwX,g+rX"
|
||||
@@ -12,7 +12,7 @@
|
||||
- name: Put carddav config file
|
||||
ansible.builtin.template:
|
||||
src: "carddav.config.inc.php.j2"
|
||||
dest: "{{ roundcube_local_path }}/plugins/carddav/config.inc.php"
|
||||
dest: "{{ roundcube_home }}/plugins/carddav/config.inc.php"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "0o640"
|
||||
|
@@ -7,8 +7,8 @@ roundcube_url: "https://github.com/roundcube/roundcubemail/releases/download/{{
|
||||
# only the first occurence is supported
|
||||
roundcube_access_url: "{{ web_hostname | selectattr('type', 'defined') | selectattr('type', '==', 'roundcube') | map(attribute='host') | first }}"
|
||||
|
||||
roundcube_local_path: "/srv/http/{{ roundcube_access_url }}"
|
||||
roundcube_config_path: "{{ roundcube_local_path }}/config/config.inc.php"
|
||||
roundcube_home: "/srv/http/{{ roundcube_access_url }}"
|
||||
roundcube_config_path: "{{ roundcube_home }}/config/config.inc.php"
|
||||
|
||||
roundcube_carddav_version: "5.1.0"
|
||||
roundcube_carddav_url: "https://github.com/mstilkerich/rcmcarddav/releases/download/v{{ roundcube_carddav_version }}/carddav-v{{ roundcube_carddav_version }}.tar.gz"
|
||||
|
Reference in New Issue
Block a user