2023-10-12 19:18:54 +10:00
|
|
|
---
|
|
|
|
- name: pingu
|
|
|
|
hosts: all
|
|
|
|
# remote_user: root
|
|
|
|
|
2023-10-13 00:56:39 +10:00
|
|
|
gather_facts: no
|
2023-10-12 19:18:54 +10:00
|
|
|
become: yes
|
|
|
|
tasks:
|
|
|
|
- name: pingu!
|
|
|
|
ansible.builtin.ping:
|
|
|
|
|
2023-11-08 23:11:54 +10:00
|
|
|
- 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
|