Verified Commit 8caa1924 authored by Morten Linderud's avatar Morten Linderud 🏄 Committed by Jelle van der Waa
Browse files

Added bugbot role


Signed-off-by: Morten Linderud's avatarMorten Linderud <morten@linderud.pw>
parent 07b1b39b
---
irc_host: 'chat.freenode.net'
irc_port: '6697'
irc_channel: '#archlinux-bugs'
bugbot_admins:
- keenerd
- falconindy
- Foxboron
[Unit]
Description=The official Arch Linux IRC bugbot
[Service]
EnvironmentFile=/srv/bugbot/env
ExecStart=/srv/bugbot/bugbot.py
Restart=on-failure
ProtectSystem=full
DynamicUser=yes
[Install]
WantedBy=default.target
---
- name: daemon reload
command: systemctl daemon-reload
---
- name: install bugbot utilities
pacman: name=python-irc,python-beautifulsoup4,python-lxml state=present
- name: clone bugbot source
git:
repo: https://gitlab.archlinux.org/archlinux/bugbot.git
dest: /srv/bugbot
- name: install env file
template: src=bugbot.j2 dest=/srv/bugbot/env owner=root group=root mode=0600
- name: install bugbot systemd service
copy: src=bugbot.service dest=/etc/systemd/system/bugbot.service
notify:
- daemon reload
- name: start and enable bugbot service
service: name="bugbot.service" enabled=yes state=started
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment