Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
8caa1924
Verified
Commit
8caa1924
authored
Jun 17, 2020
by
Morten Linderud
🏄
Committed by
Jelle van der Waa
Jul 11, 2020
Browse files
Added bugbot role
Signed-off-by:
Morten Linderud
<
morten@linderud.pw
>
parent
07b1b39b
Changes
4
Hide whitespace changes
Inline
Side-by-side
roles/bugbot/defaults/main.yml
0 → 100644
View file @
8caa1924
---
irc_host
:
'
chat.freenode.net'
irc_port
:
'
6697'
irc_channel
:
'
#archlinux-bugs'
bugbot_admins
:
-
keenerd
-
falconindy
-
Foxboron
roles/bugbot/files/bugbot.service
0 → 100644
View file @
8caa1924
[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
roles/bugbot/handlers/main.yml
0 → 100644
View file @
8caa1924
---
-
name
:
daemon reload
command
:
systemctl daemon-reload
roles/bugbot/tasks/main.yml
0 → 100644
View file @
8caa1924
---
-
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment