forked from cisti/infra
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
|
||||
- name: Etherpad
|
||||
hosts: paddone
|
||||
# - name: Etherpad
|
||||
# hosts: paddone
|
||||
# roles:
|
||||
# - role: stable/common
|
||||
# - role: stable/etherpad
|
||||
# vars_files:
|
||||
# - vars/etherpad.yml
|
||||
|
||||
|
||||
## CICLES
|
||||
- name: Cicles
|
||||
hosts: cicles
|
||||
roles:
|
||||
- role: stable/common
|
||||
- role: stable/etherpad
|
||||
vars_files:
|
||||
- vars/etherpad.yml
|
||||
- role: stable/goploader
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
paddone:
|
||||
hosts: paddone.cose.belle
|
||||
|
||||
cicles:
|
||||
hosts: 192.168.199.105
|
||||
|
||||
all:
|
||||
vars:
|
||||
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
|
||||
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
|
||||
become: true
|
||||
become_user: goploader
|
Loading…
Reference in a new issue