]> git.aero2k.de Git - urlbot-v3.git/commitdiff
separate clone/view git url
authorThorsten <mail@aero2k.de>
Fri, 7 Jul 2023 13:01:23 +0000 (15:01 +0200)
committerThorsten <mail@aero2k.de>
Fri, 7 Jul 2023 13:01:23 +0000 (15:01 +0200)
deploy/roles/urlbot/tasks/main.yml
deploy/roles/urlbot/vars/main.yml

index ec981802026285ee05fcd49eceaf236c8eb9c0fd..d03a30a090a0adce1808a71b0f69ed4ea4bd4aaf 100644 (file)
@@ -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"
 - 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"
index 96417b905ab7ff678cc6bed42fd733ff8b1020f7..3dbb0843996ac5da2af2e1338efdc5fd822fcf5b 100644 (file)
@@ -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