Merge "statusbot: add mastodon config options"

This commit is contained in:
Zuul 2022-11-16 01:29:45 +00:00 committed by Gerrit Code Review
commit 72a64bf997
3 changed files with 10 additions and 0 deletions

View File

@ -16,3 +16,6 @@ statusbot_wiki_thankspageid: '37700'
statusbot_wiki_thankspageurl: 'https://wiki.openstack.org/wiki/Thanks' statusbot_wiki_thankspageurl: 'https://wiki.openstack.org/wiki/Thanks'
statusbot_irclogs_url : 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html' statusbot_irclogs_url : 'http://eavesdrop.openstack.org/irclogs/%(chan)s/%(chan)s.%(date)s.log.html'
statusbot_twitter: True statusbot_twitter: True
statusbot_mastodon: True
statusbot_mastodon_host: 'https://fosstodon.org'

View File

@ -44,3 +44,9 @@ consumer_secret={{ statusbot_twitter_secret }}
access_token_key={{ statusbot_twitter_token_key }} access_token_key={{ statusbot_twitter_token_key }}
access_token_secret={{ statusbot_twitter_token_secret }} access_token_secret={{ statusbot_twitter_token_secret }}
{% endif %} {% endif %}
{% if statusbot_mastodon %}
[mastodon]
host={{ statusbot_mastodon_host }}
token={{ statusbot_mastodon_token }}
{% endif %}

View File

@ -1,4 +1,5 @@
openstack_meetbot_password: password openstack_meetbot_password: password
statusbot_mastodon_token: token
statusbot_nick_password: password statusbot_nick_password: password
statusbot_wiki_user: username statusbot_wiki_user: username
statusbot_wiki_password: password statusbot_wiki_password: password