✨: introduce webapps playbook to handle web php applications
This commit is contained in:
18
roles/roundcube/tasks/roundcube_carddav.yml
Normal file
18
roles/roundcube/tasks/roundcube_carddav.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
|
||||
- name: Unzip carddav plugin
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
src: "{{ roundcube_carddav_url }}"
|
||||
dest: "{{ roundcube_local_path }}/plugins"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "a-rwx,u+rwX,g+rX"
|
||||
|
||||
- name: Put carddav config file
|
||||
ansible.builtin.template:
|
||||
src: "carddav.config.inc.php.j2"
|
||||
dest: "{{ roundcube_local_path }}/plugins/carddav/config.inc.php"
|
||||
owner: root
|
||||
group: www-data
|
||||
mode: "0o640"
|
Reference in New Issue
Block a user