From: Thorsten Date: Fri, 7 Jul 2023 13:01:23 +0000 (+0200) Subject: separate clone/view git url X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a87ba445f8676f7b849c0d65781d74ccb4413734;p=urlbot-v3.git separate clone/view git url --- diff --git a/deploy/roles/urlbot/tasks/main.yml b/deploy/roles/urlbot/tasks/main.yml index ec98180..d03a30a 100644 --- a/deploy/roles/urlbot/tasks/main.yml +++ b/deploy/roles/urlbot/tasks/main.yml @@ -49,7 +49,7 @@ - key: "rooms" value: "{{rooms | join(', ')}}" - key: "src-url" - value: "{{botrepo}}" + value: "{{botrepo_view}}" - key: "bot_nickname" value: "{{bot_nickname}}" - key: "bot_owner" @@ -70,6 +70,12 @@ - name: create directory for systemd unit files shell: mkdir -p ~/.config/systemd/user/ creates=~/.config/systemd/user/ +- name: unitfile support + template: + src: "wait-for-rabbitmq.sh" + dest: "~/wait-for-rabbitmq.sh" + mode: u+x + - name: unitfile template: src: "urlbot-{{ item }}.service" diff --git a/deploy/roles/urlbot/vars/main.yml b/deploy/roles/urlbot/vars/main.yml index 96417b9..3dbb084 100644 --- a/deploy/roles/urlbot/vars/main.yml +++ b/deploy/roles/urlbot/vars/main.yml @@ -1,5 +1,6 @@ --- -botrepo: http://aero2k.de/t/repos/urlbot-v3.git +botrepo: gitolite3@aero2k.de:urlbot-v3.git +botrepo_view: https://git.aero2k.de/?p=urlbot-v3.git;a=summary pypi_mirror: https://pypi.org/simple venv_chatbot: "/home/{{ botuser }}/.virtualenvs/urlbot_xmpp" venv_worker: "/home/{{ botuser }}/.virtualenvs/urlbot_worker" \ No newline at end of file