diff --git a/infra.yml b/infra.yml index ff605f4..a5e7b6b 100644 --- a/infra.yml +++ b/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 diff --git a/inventory.yml b/inventory.yml index 61ef7c5..78e861f 100644 --- a/inventory.yml +++ b/inventory.yml @@ -1,6 +1,9 @@ paddone: hosts: paddone.cose.belle +cicles: + hosts: 192.168.199.105 + all: vars: passwordstore_path: cisti.org/ansible diff --git a/roles/goploader/meta/main.yml b/roles/goploader/meta/main.yml deleted file mode 100644 index 07c04cd..0000000 --- a/roles/goploader/meta/main.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -dependencies: - - role: caddy - vars: - caddy_config: | - {{ hostname }} - reverse_proxy 127.0.0.1:8008 \ No newline at end of file diff --git a/roles/goploader/defaults/main.yml b/roles/stable/goploader/defaults/main.yml similarity index 100% rename from roles/goploader/defaults/main.yml rename to roles/stable/goploader/defaults/main.yml diff --git a/roles/goploader/handlers/main.yml b/roles/stable/goploader/handlers/main.yml similarity index 100% rename from roles/goploader/handlers/main.yml rename to roles/stable/goploader/handlers/main.yml diff --git a/roles/stable/goploader/meta/main.yml b/roles/stable/goploader/meta/main.yml new file mode 100644 index 0000000..358e565 --- /dev/null +++ b/roles/stable/goploader/meta/main.yml @@ -0,0 +1,7 @@ +--- +dependencies: + # - role: caddy + # vars: + # caddy_config: | + # {{ hostname }} + # reverse_proxy 127.0.0.1:8008 \ No newline at end of file diff --git a/roles/goploader/tasks/main.yml b/roles/stable/goploader/tasks/main.yml similarity index 87% rename from roles/goploader/tasks/main.yml rename to roles/stable/goploader/tasks/main.yml index 75c498a..ca5ff26 100644 --- a/roles/goploader/tasks/main.yml +++ b/roles/stable/goploader/tasks/main.yml @@ -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 diff --git a/roles/goploader/templates/goploader.service b/roles/stable/goploader/templates/goploader.service similarity index 100% rename from roles/goploader/templates/goploader.service rename to roles/stable/goploader/templates/goploader.service