20 lines
497 B
YAML
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 |