From ae5965ac4f75853b95d7a48e2798fcf0d2dba447 Mon Sep 17 00:00:00 2001 From: Thorsten S Date: Thu, 2 Jan 2020 19:43:32 +0100 Subject: [PATCH] fix stupid pip/setuptools/scripts --- deploy/roles/urlbot/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/roles/urlbot/tasks/main.yml b/deploy/roles/urlbot/tasks/main.yml index 6452eba..b7d291d 100644 --- a/deploy/roles/urlbot/tasks/main.yml +++ b/deploy/roles/urlbot/tasks/main.yml @@ -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}}" -- 2.39.2