Skip to content
Snippets Groups Projects

aurweb: Make SSH faster by avoiding slow Poetry (~2,5 sec faster)

Merged Kristian Klausen requested to merge klausenbusk/infrastructure:aur-fix-slow-ssh into master
All threads resolved!
Files
3
@@ -144,6 +144,12 @@
priv="{{ aurweb_db }}.*:ALL"
no_log: true
- name: create directory for poetry configuration
file: path={{ aur_user.home }}/.config/pypoetry state=directory owner={{ aur_user.name }} group={{ aur_user.name }} mode=0755
- name: install poetry configuration
copy: src=config.toml dest={{ aur_user.home }}/.config/pypoetry/ owner={{ aur_user.name }} group={{ aur_user.name }} mode=0644
- name: initialize the database
command: poetry run python -m aurweb.initdb
args:
Loading