system-config/playbooks/roles/ptgbot/templates/ptgbot.config.j2
Jeremy Stanley ad16067ae8 Finish ptgbot configuration
Set the channel we want ptgbot joining in production with a group
var, like we do for statusbot's channel list. Correct the password
var name to match what's used in the template for production (and
matches the override set in our private hostvars on the bastion).
Clean up the unnecessary auth nicks list which was copied from the
statusbot config but is entirely unused. Also get rid of some
unnecessary empty lines in the defaults as they really don't make
the file any more readable.

Change-Id: Id026b89d642eae13feba374e4f3ec610b543e530
2021-10-06 19:06:39 +00:00

10 lines
285 B
Django/Jinja

{
"irc_nick": "{{ ptgbot_nick }}",
"irc_pass": "{{ ptgbot_password }}",
"irc_server": "{{ ptgbot_server }}",
"irc_port": 6697,
"irc_channel": "{{ ptgbot_channels | join(',') }}",
"db_filename": "/var/lib/ptgbot/www/ptg.json",
"log_config": "/etc/ptgbot/logging.config"
}