rahiel / telegram-send

Send messages and files over Telegram from the command-line.
https://www.rahielkasim.com/telegram-send/
GNU General Public License v3.0
938 stars 105 forks source link

Setup Telegram-Send via ansible #108

Open rapture-home opened 2 years ago

rapture-home commented 2 years ago

Hi

So I am currently trying to automate the setup of telegram-send via ansible.

Is there are simple way to get the configuration done without having to interact with telegram-send --configure.

Thanks

sachapan commented 1 year ago

(I see this is an old issue but here's my 0.02)

If you already have a working configuration file........

I use ansible.builtin.copy to drop it into ~/.config/telegram-send.conf among other config files that my systems require.

ansible playbook:

var file: config_files: