published binaries

This commit is contained in:
Martin Geno 2016-12-13 17:22:52 +01:00
parent 68392c3b5f
commit c65a970203
6 changed files with 13 additions and 15 deletions

5
.gitignore vendored
View File

@ -1,5 +0,0 @@
mailserver/files/
warehost-api/files/
warehost-web/files/
warehost-host/files/
warehost-ftp/files/

View File

@ -8,8 +8,8 @@
notify: restart dovecot
# Authentification
- name: Download warehost-auth (TODO current copy)
copy: src=warehost-auth dest=/usr/local/bin/warehost-auth owner=root group=root mode=0755
- name: Download warehost-auth
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
template: src=warehost-auth.conf dest=/etc/warehost/auth.conf mode=660 owner=vmail group=vmail

View File

@ -1,6 +1,6 @@
---
- name: Download Warehost (TODO current copy)
copy: src=warehost dest=/usr/local/bin/warehost-api owner=root group=root mode=0755
- name: Download Warehost
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
template: src=config.yml dest=/etc/warehost/api.conf owner=warehost mode=0600

View File

@ -1,6 +1,6 @@
---
- name: Download Warehost-ftp (TODO current copy)
copy: src=warehost-ftp dest=/usr/local/bin/warehost-ftp owner=root group=root mode=0755
- name: Download Warehost-ftp
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
file: path={{warehost_ftp_data_path}} state=directory owner=warehost group={{http_grp}} mode=0770

View File

@ -1,6 +1,6 @@
---
- name: Download Warehost-host (TODO current copy)
copy: src=warehost-host dest=/usr/local/bin/warehost-host owner=root group=root mode=0755
- name: Download Warehost-host
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
template: src=config.yml dest=/etc/warehost/host.conf owner=warehost mode=0600
@ -13,6 +13,9 @@
- name: Configurate warehost-host
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
template: src=warehost-host.{{item}} dest=/lib/systemd/system/warehost-host.{{item}} owner=root mode=644
with_items:

View File

@ -1,6 +1,6 @@
---
- name: Download Warehost-web (TODO current copy)
copy: src=warehost-web dest=/usr/local/bin/warehost-web owner=root group=root mode=0755
- name: Download Warehost-web
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
file: path={{warehost_web_webroot}} state=directory owner=warehost group={{http_grp}} mode=0770