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" - name: "Testing goploader role"
hosts: localhost hosts: jolly
become: true become: true
roles: roles:
- role: common - role: common
- role: goploader - role: goploader
vars: vars:
hostname: :8000 hostname: cicles.cisti.org

View file

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

View file

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