telegram

Role Name

Use this role to sent a telegram message

Requirements

Chat bot is required.

More info, here

Role Variables

Variable text is required. This variable, contains the text that send it with telegram

Normally, we will pass this variable in playbook

Dependencies

No dependencies

Example Playbook

- hosts: ansible
  user: root
  tasks:
    - include: ../roles/miquelMariano.telegram/tasks/main.yml
      vars:
        text: "Test message from ansible"

Execute playbook

ansible-playbook playbooks/telegram.yml -i inventory/servers

License

BSD

Author Information

miquelMariano.github.io | Twitter

About

Send message with Telegram

Install
ansible-galaxy install miquelMariano/telegram
GitHub repository
License
Unknown
Downloads
57