]> git.aero2k.de Git - urlbot-v3.git/commitdiff
fix stupid pip/setuptools/scripts
authorThorsten S <mail@aero2k.de>
Thu, 2 Jan 2020 18:43:32 +0000 (19:43 +0100)
committerThorsten S <mail@aero2k.de>
Thu, 2 Jan 2020 18:43:32 +0000 (19:43 +0100)
deploy/roles/urlbot/tasks/main.yml

index 6452ebadf3cd751040b957eb2e897656df743c9a..b7d291d0d9689d2704d1f41cf80ae3af0d6ee235 100644 (file)
@@ -9,6 +9,14 @@
     cmd: "python3 -m venv {{ venv_worker }}"
     creates: "{{ venv_worker }}"
 
+- name: update pip and setuptools
+  shell:
+    cmd: "{{ item }}/bin/pip install -U pip setuptools; touch {{ item }}/.updated"
+    creates: "{{ item }}/.updated"
+  with_items:
+    - "{{ venv_worker }}"
+    - "{{ venv_chatbot }}"
+
 - name: clone repository
   git:
     repo: "{{botrepo}}"