diff --git a/goploader.yml b/goploader.yml index 9f3d396..5f16815 100644 --- a/goploader.yml +++ b/goploader.yml @@ -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 diff --git a/roles/goploader/meta/main.yml b/roles/goploader/meta/main.yml index 267f8b3..07c04cd 100644 --- a/roles/goploader/meta/main.yml +++ b/roles/goploader/meta/main.yml @@ -4,4 +4,4 @@ dependencies: vars: caddy_config: | {{ hostname }} - reverse_proxy / 127.0.0.1:8008 \ No newline at end of file + reverse_proxy 127.0.0.1:8008 \ No newline at end of file diff --git a/roles/goploader/tasks/main.yml b/roles/goploader/tasks/main.yml index 82ffd08..75c498a 100644 --- a/roles/goploader/tasks/main.yml +++ b/roles/goploader/tasks/main.yml @@ -17,6 +17,7 @@ - name: Unarchive goploader unarchive: src: /srv/goploader/server.tgz + remote_src: yes dest: /srv/goploader owner: goploader group: goploader