Bascule Z-Push, préparation Mail

This commit is contained in:
VC
2019-09-04 18:02:51 +02:00
parent dded46ff64
commit 66717dcc13
30 changed files with 828 additions and 2 deletions

View File

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

View 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