From c12e3304aca34d2eebd908bce4eecd7e8d4762e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Wed, 5 Oct 2022 19:44:50 +0200 Subject: [PATCH] gotify_app: Remove Superseded by ntfy_client. --- playbooks/avalon.yml | 1 - roles/gotify_app/tasks/main.yml | 12 ------------ roles/gotify_app/templates/curl-gotify.j2 | 5 ----- 3 files changed, 18 deletions(-) delete mode 100644 roles/gotify_app/tasks/main.yml delete mode 100755 roles/gotify_app/templates/curl-gotify.j2 diff --git a/playbooks/avalon.yml b/playbooks/avalon.yml index 4d1e678..f4ac1b3 100644 --- a/playbooks/avalon.yml +++ b/playbooks/avalon.yml @@ -47,7 +47,6 @@ - { role: wireguard_vpn_server } # - { role: uptime_kuma } # docker - { role: gotify_server } - - { role: gotify_app } - { role: matrix } - { role: coturn } - { role: hedgedoc } diff --git a/roles/gotify_app/tasks/main.yml b/roles/gotify_app/tasks/main.yml deleted file mode 100644 index dc9f9ea..0000000 --- a/roles/gotify_app/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- -- name: Get token - ansible.builtin.set_fact: - gotify_token: "{{ lookup('community.hashi_vault.hashi_vault', 'ansible/data/gotify:infrastructure_token') }}" - -- name: Install curl wrapper for gotify - ansible.builtin.template: - src: curl-gotify.j2 - dest: /usr/local/bin/curl-gotify - owner: root - group: root - mode: 0755 diff --git a/roles/gotify_app/templates/curl-gotify.j2 b/roles/gotify_app/templates/curl-gotify.j2 deleted file mode 100755 index 671fa78..0000000 --- a/roles/gotify_app/templates/curl-gotify.j2 +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -PRIORITY=${3:-5} - -curl -X POST "https://gotify.xenrox.net/message?token={{ gotify_token }}" -F "title=$1" -F "message=$2" -F "priority=$PRIORITY" -- 2.44.0