site.yml: Enroll telegram-notifictations only on non debug servers

dehydrated
Felix Stupp 4 years ago
parent 9b4532199e
commit b619f5f1ae
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -22,6 +22,10 @@
password: "{{ zocker_password }}" password: "{{ zocker_password }}"
authorized_keys: "{{ zocker_authorized_keys_url }}" authorized_keys: "{{ zocker_authorized_keys_url }}"
sudo: yes sudo: yes
# Enroll certain features not on ansible test/debug servers
- hosts: all:!ansible_debug
roles:
- role: misc/ssh_tg_notify - role: misc/ssh_tg_notify
recipient_id: "{{ zocker_telegram_id }}" recipient_id: "{{ zocker_telegram_id }}"

Loading…
Cancel
Save