published binaries
This commit is contained in:
parent
68392c3b5f
commit
c65a970203
|
@ -1,5 +0,0 @@
|
||||||
mailserver/files/
|
|
||||||
warehost-api/files/
|
|
||||||
warehost-web/files/
|
|
||||||
warehost-host/files/
|
|
||||||
warehost-ftp/files/
|
|
|
@ -8,8 +8,8 @@
|
||||||
notify: restart dovecot
|
notify: restart dovecot
|
||||||
|
|
||||||
# Authentification
|
# Authentification
|
||||||
- name: Download warehost-auth (TODO current copy)
|
- name: Download warehost-auth
|
||||||
copy: src=warehost-auth dest=/usr/local/bin/warehost-auth owner=root group=root mode=0755
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-auth dest=/usr/local/bin/warehost-auth owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Configurate authentification
|
- name: Configurate authentification
|
||||||
template: src=warehost-auth.conf dest=/etc/warehost/auth.conf mode=660 owner=vmail group=vmail
|
template: src=warehost-auth.conf dest=/etc/warehost/auth.conf mode=660 owner=vmail group=vmail
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost (TODO current copy)
|
- name: Download Warehost
|
||||||
copy: src=warehost dest=/usr/local/bin/warehost-api owner=root group=root mode=0755
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-api dest=/usr/local/bin/warehost-api owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Configurate warehost
|
- name: Configurate warehost
|
||||||
template: src=config.yml dest=/etc/warehost/api.conf owner=warehost mode=0600
|
template: src=config.yml dest=/etc/warehost/api.conf owner=warehost mode=0600
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-ftp (TODO current copy)
|
- name: Download Warehost-ftp
|
||||||
copy: src=warehost-ftp dest=/usr/local/bin/warehost-ftp owner=root group=root mode=0755
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-ftp dest=/usr/local/bin/warehost-ftp owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Create data folder
|
- name: Create data folder
|
||||||
file: path={{warehost_ftp_data_path}} state=directory owner=warehost group={{http_grp}} mode=0770
|
file: path={{warehost_ftp_data_path}} state=directory owner=warehost group={{http_grp}} mode=0770
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-host (TODO current copy)
|
- name: Download Warehost-host
|
||||||
copy: src=warehost-host dest=/usr/local/bin/warehost-host owner=root group=root mode=0755
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-host dest=/usr/local/bin/warehost-host owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Configurate warehost-host
|
- name: Configurate warehost-host
|
||||||
template: src=config.yml dest=/etc/warehost/host.conf owner=warehost mode=0600
|
template: src=config.yml dest=/etc/warehost/host.conf owner=warehost mode=0600
|
||||||
|
@ -13,6 +13,9 @@
|
||||||
- name: Configurate warehost-host
|
- name: Configurate warehost-host
|
||||||
file: path={{warehost_host_web_path}} state=touch owner=warehost group={{http_grp}} mode=0660
|
file: path={{warehost_host_web_path}} state=touch owner=warehost group={{http_grp}} mode=0660
|
||||||
|
|
||||||
|
- name: Fix permission on domain folders
|
||||||
|
file: path=/srv/http/domain state=directory owner=warehost group={{http_grp}} recurse=yes
|
||||||
|
|
||||||
- name: Install service
|
- name: Install service
|
||||||
template: src=warehost-host.{{item}} dest=/lib/systemd/system/warehost-host.{{item}} owner=root mode=644
|
template: src=warehost-host.{{item}} dest=/lib/systemd/system/warehost-host.{{item}} owner=root mode=644
|
||||||
with_items:
|
with_items:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-web (TODO current copy)
|
- name: Download Warehost-web
|
||||||
copy: src=warehost-web dest=/usr/local/bin/warehost-web owner=root group=root mode=0755
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-web dest=/usr/local/bin/warehost-web owner=root group=root mode=0755
|
||||||
|
|
||||||
- name: Create web folder
|
- name: Create web folder
|
||||||
file: path={{warehost_web_webroot}} state=directory owner=warehost group={{http_grp}} mode=0770
|
file: path={{warehost_web_webroot}} state=directory owner=warehost group={{http_grp}} mode=0770
|
||||||
|
|
Reference in New Issue