fix path, remove email address

This commit is contained in:
Felix Ableitner 2019-12-10 12:34:39 +01:00
parent 0a6660baf4
commit a608b4cc34
2 changed files with 8 additions and 8 deletions

View file

@ -1,5 +1,5 @@
[tootbot]
user@host newsbots_password=my_password
user@host my_email_host=gmail.com newsbots_password=my_password
[all:vars]
ansible_connection=ssh

View file

@ -7,28 +7,28 @@ set -e
# 3- mastodon password
# 4- instance domain (https:// is automatically added)
PATH="/app/tootbot"
PATH="/tootbot"
cd "$PATH/telesur_en"
../source/tootbot.py telesurenglish me+telesur_en@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py telesurenglish me+telesur_en@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60
cd "$PATH/telesur_es"
../source/tootbot.py teleSURtv me+telesur_es@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py teleSURtv me+telesur_es@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60
cd "$PATH/itsgoingdown"
../source/tootbot.py IGD_News me+itsgoingdown@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py IGD_News me+itsgoingdown@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60
cd "$PATH/postillon"
../source/tootbot.py Der_Postillon me+postillon@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py Der_Postillon me+postillon@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60
cd "$PATH/telepolis"
../source/tootbot.py telepolis_news me+telepolis@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py telepolis_news me+telepolis@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60
cd "$PATH/granma"
../source/tootbot.py Granma_English me+granma@nutomic.com {{ newsbots_password }} newsbots.eu &>> bot.log &
../source/tootbot.py Granma_English me+granma@{{ my_email_host }} {{ newsbots_password }} newsbots.eu &>> bot.log &
/bin/sleep 60