From b619f5f1ae8bee65d3a0fa7449cb8d9d3252d6db Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Tue, 20 Oct 2020 15:34:19 +0200 Subject: [PATCH] site.yml: Enroll telegram-notifictations only on non debug servers --- site.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site.yml b/site.yml index 1b481a0..1606b33 100644 --- a/site.yml +++ b/site.yml @@ -22,6 +22,10 @@ password: "{{ zocker_password }}" authorized_keys: "{{ zocker_authorized_keys_url }}" sudo: yes + +# Enroll certain features not on ansible test/debug servers +- hosts: all:!ansible_debug + roles: - role: misc/ssh_tg_notify recipient_id: "{{ zocker_telegram_id }}"