From: Thorsten S Date: Thu, 2 Jan 2020 18:43:32 +0000 (+0100) Subject: fix stupid pip/setuptools/scripts X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=ae5965ac4f75853b95d7a48e2798fcf0d2dba447;p=urlbot-v3.git fix stupid pip/setuptools/scripts --- 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}}"