♻: rename _local_path vars into _home vars

This commit is contained in:
VC
2025-02-15 09:42:14 +01:00
parent 72eaeb37db
commit 81039ee0dd
13 changed files with 30 additions and 30 deletions

View File

@@ -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"

View File

@@ -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"