Bascule Z-Push, préparation Mail
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
- name: include php flag for NextCloud
|
||||
include_tasks: nextcloud.yml
|
||||
when: inventory_hostname == 'web1.dmz.mateu.be'
|
||||
- name: include z-push
|
||||
include_tasks: z-push.yml
|
||||
when: inventory_hostname == 'web1.dmz.mateu.be'
|
||||
- name: include matomo for web2
|
||||
include_tasks: matomo.yml
|
||||
when: inventory_hostname == 'web2.dmz.mateu.be'
|
||||
|
30
roles/webapps/tasks/z-push.yml
Normal file
30
roles/webapps/tasks/z-push.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
- name: install z-push repokey
|
||||
apt_key:
|
||||
url: http://repo.z-hub.io/z-push:/final/Debian_10/Release.key
|
||||
state: present
|
||||
|
||||
- name: install z-push repo
|
||||
apt_repository:
|
||||
repo: deb http://repo.z-hub.io/z-push:/final/Debian_10/ /
|
||||
state: present
|
||||
|
||||
- name: install z-push packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: present
|
||||
loop:
|
||||
- z-push-autodiscover
|
||||
- z-push-backend-caldav
|
||||
- z-push-backend-carddav
|
||||
- z-push-backend-combined
|
||||
- z-push-backend-imap
|
||||
- z-push-common
|
||||
- z-push-ipc-sharedmemory
|
||||
- z-push-state-sql
|
||||
|
||||
- name: log directory
|
||||
file:
|
||||
path: /var/log/z-push/
|
||||
owner: www-data
|
||||
group: www-data
|
||||
state: directory
|
Reference in New Issue
Block a user