deploy cicles
This commit is contained in:
parent
23c6bb4bd3
commit
0df3ccd54a
8 changed files with 24 additions and 13 deletions
18
infra.yml
18
infra.yml
|
@ -1,10 +1,18 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
## ETHERPAD
|
## ETHERPAD
|
||||||
- name: Etherpad
|
# - name: Etherpad
|
||||||
hosts: paddone
|
# hosts: paddone
|
||||||
|
# roles:
|
||||||
|
# - role: stable/common
|
||||||
|
# - role: stable/etherpad
|
||||||
|
# vars_files:
|
||||||
|
# - vars/etherpad.yml
|
||||||
|
|
||||||
|
|
||||||
|
## CICLES
|
||||||
|
- name: Cicles
|
||||||
|
hosts: cicles
|
||||||
roles:
|
roles:
|
||||||
- role: stable/common
|
- role: stable/common
|
||||||
- role: stable/etherpad
|
- role: stable/goploader
|
||||||
vars_files:
|
|
||||||
- vars/etherpad.yml
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
paddone:
|
paddone:
|
||||||
hosts: paddone.cose.belle
|
hosts: paddone.cose.belle
|
||||||
|
|
||||||
|
cicles:
|
||||||
|
hosts: 192.168.199.105
|
||||||
|
|
||||||
all:
|
all:
|
||||||
vars:
|
vars:
|
||||||
passwordstore_path: cisti.org/ansible
|
passwordstore_path: cisti.org/ansible
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
---
|
|
||||||
dependencies:
|
|
||||||
- role: caddy
|
|
||||||
vars:
|
|
||||||
caddy_config: |
|
|
||||||
{{ hostname }}
|
|
||||||
reverse_proxy 127.0.0.1:8008
|
|
7
roles/stable/goploader/meta/main.yml
Normal file
7
roles/stable/goploader/meta/main.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
dependencies:
|
||||||
|
# - role: caddy
|
||||||
|
# vars:
|
||||||
|
# caddy_config: |
|
||||||
|
# {{ hostname }}
|
||||||
|
# reverse_proxy 127.0.0.1:8008
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
- name: Download Goploader
|
- name: Download Goploader
|
||||||
get_url:
|
get_url:
|
||||||
url: https://gpldr.in/releases/servers/server_amd64.tar.gz
|
url: https://github.com/Depado/goploader/releases/download/v1.0/server_amd64.tar.gz
|
||||||
dest: /srv/goploader/server.tgz
|
dest: /srv/goploader/server.tgz
|
||||||
become: true
|
become: true
|
||||||
become_user: goploader
|
become_user: goploader
|
Loading…
Reference in a new issue