ansible-repo/playbooks/pingo.yml
Simple_Not e827c11a27
All checks were successful
continuous-integration/drone/push Build is passing
upd ansi: add tg
2023-11-08 23:11:54 +10:00

20 lines
497 B
YAML

---
- name: pingu
hosts: all
# remote_user: root
gather_facts: no
become: yes
tasks:
- name: pingu!
ansible.builtin.ping:
- name: Send notify to Telegram
community.general.telegram:
token: '6472915685:AAHPvgrQoqG7DxtfbnHWPe3Lfild-CGJ1j8'
api_args:
chat_id: -4023350326
parse_mode: "markdown"
text: "Your precious application has been deployed: https://example.com"
disable_web_page_preview: true
disable_notification: true