minor + deploy goploader

This commit is contained in:
les 2020-10-03 21:34:11 +02:00
parent 119a3e4591
commit b2db8e41e9
3 changed files with 4 additions and 3 deletions

View file

@ -1,10 +1,10 @@
---
- name: "Testing goploader role"
hosts: localhost
hosts: jolly
become: true
roles:
- role: common
- role: goploader
vars:
hostname: :8000
hostname: cicles.cisti.org

View file

@ -4,4 +4,4 @@ dependencies:
vars:
caddy_config: |
{{ hostname }}
reverse_proxy / 127.0.0.1:8008
reverse_proxy 127.0.0.1:8008

View file

@ -17,6 +17,7 @@
- name: Unarchive goploader
unarchive:
src: /srv/goploader/server.tgz
remote_src: yes
dest: /srv/goploader
owner: goploader
group: goploader