From a87ba445f8676f7b849c0d65781d74ccb4413734 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Fri, 7 Jul 2023 15:01:23 +0200 Subject: [PATCH] separate clone/view git url --- deploy/roles/urlbot/tasks/main.yml | 8 +++++++- deploy/roles/urlbot/vars/main.yml | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) 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 -- 2.39.2