fix download/update of binaries
This commit is contained in:
parent
57a159a6d4
commit
cb1a98185d
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
# Authentification
|
# Authentification
|
||||||
- name: Download warehost-auth
|
- 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
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-auth dest=/usr/local/bin/warehost-auth owner=root group=root mode=0755 force=yes
|
||||||
|
|
||||||
- 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
|
- 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
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-api dest=/usr/local/bin/warehost-api owner=root group=root mode=0755 force=yes
|
||||||
notify: restart warehost-api
|
notify: restart warehost-api
|
||||||
|
|
||||||
- name: Configurate warehost
|
- name: Configurate warehost
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-ftp
|
- 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
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-ftp dest=/usr/local/bin/warehost-ftp owner=root group=root mode=0755 force=yes
|
||||||
notify: restart warehost-ftp
|
notify: restart warehost-ftp
|
||||||
|
|
||||||
- name: Create data folder
|
- name: Create data folder
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-host
|
- 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
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-host dest=/usr/local/bin/warehost-host owner=root group=root mode=0755 force=yes
|
||||||
|
|
||||||
- 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
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Download Warehost-web
|
- 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
|
get_url: url=https://warehost.sum7.eu/downloads/current/warehost-web dest=/usr/local/bin/warehost-web owner=root group=root mode=0755 force=yes
|
||||||
notify: restart warehost-web
|
notify: restart warehost-web
|
||||||
|
|
||||||
- name: Create web folder
|
- name: Create web folder
|
||||||
|
|
Reference in New Issue