diff --git a/playbooks/local-dev.yml b/playbooks/local-dev.yml index 964e9f7..b16b64c 100644 --- a/playbooks/local-dev.yml +++ b/playbooks/local-dev.yml @@ -24,5 +24,4 @@ - umami - uptime-kuma - watchtower - - webdis - wiki-js diff --git a/playbooks/node002.yml b/playbooks/node002.yml index 7fe8b88..7754a40 100644 --- a/playbooks/node002.yml +++ b/playbooks/node002.yml @@ -65,8 +65,6 @@ tags: [vikunja, todo] - role: watchtower tags: [watchtower] - - role: webdis - tags: [webdis] - role: webhook tags: [webhook] - role: wiki_js diff --git a/roles/webdis/files/webdis.json b/roles/webdis/files/webdis.json deleted file mode 100644 index 25d95ac..0000000 --- a/roles/webdis/files/webdis.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "redis_host": "redis", - - "redis_port": 6379, - "redis_auth": null, - - "http_host": "0.0.0.0", - "http_port": 7379, - - "threads": 5, - "pool_size": 20, - - "daemonize": false, - "websockets": false, - - "database": 0, - - "acl": [ - { - "disabled": ["DEBUG"] - }, - - { - "http_basic_auth": "user:password", - "enabled": ["DEBUG"] - } - ], - - "verbosity": 4, - "logfile": "/dev/stderr" -} diff --git a/roles/webdis/tasks/main.yml b/roles/webdis/tasks/main.yml deleted file mode 100644 index b151122..0000000 --- a/roles/webdis/tasks/main.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- name: Set common facts - ansible.builtin.import_tasks: tasks/set-default-facts.yml - -- name: Deploy {{ svc.name }} - vars: - svc: "{{ webdis_svc }}" - env: "{{ webdis_env }}" - compose: "{{ webdis_compose }}" - block: - - name: Import prepare tasks for common service - ansible.builtin.import_tasks: tasks/prepare-common-service.yml - - - name: Copy the config - ansible.builtin.copy: - src: webdis.json - dest: "{{ (service_path, 'webdis.json') | path_join }}" - mode: "0755" - - - name: Import start tasks for common service - ansible.builtin.import_tasks: tasks/start-common-service.yml diff --git a/roles/webdis/vars/main.yml b/roles/webdis/vars/main.yml deleted file mode 100644 index d32512f..0000000 --- a/roles/webdis/vars/main.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- -webdis_svc: - name: webdis - domain: webdis.huck.serguzim.me - port: 7379 - -webdis_compose: - watchtower: true - image: nicolas/webdis - volumes: - - ./webdis.json:/config/webdis.json - file: - services: - app: - command: /usr/local/bin/webdis /config/webdis.json - depends_on: - - redis - redis: - image: redis:6.2.6 - restart: always - labels: - com.centurylinklabs.watchtower.enable: true - networks: - default: