This repository contains ...
-
Three Telegram bots using the python Telethon library
- list_uptimes: which pulls data from a rest api server and displays it in a Telegram bot
- location_app: which logs to stdout and stderr the data from the Telegram Location widget
- location_to_restapi_app which posts the Telegram Location widget data to a restapi server
-
as well as the Django REST API which is the rest api that the third bot (above) posts to.
-
The
playbooksfolder contains the ansible playbooks to install the bots and REST API on an AWS EC2 instance running Nginx and MariaDB, e.g a t3.micro "bitnami-wordpresspro-5.9.3-17-r06-linux-debian-10-x86_64-hvm-ebs-nami-78b1d030-4c7d-4ade-b8e6-f8dc86941303" AMI
- list_uptimes, location_app, location_to_restapi_app bots finished, including ansible playbooks for installing them
- 01-Jul-2022: Ansible install for geolocation_restapi completed
- list_uptimes app
- location_to_restapi app which is talking to ...
- ... geolocation_restapi
- Clean up ansible playbook for geolocations so naming is consistent (location/geolocation)
- Add Ansible role for using Postgres instead of MariaDB - note: 11-Jul added postgres role
- Fix playbook so handlers is not repeated for each role
- Rerun geolocation playbook on a fresh install to check for bugs
- Deal with pip --update not being idempotent
- Readme_initial_setup.md
- Typical ansible commands