diff --git a/roles/lokole/tasks/install.yml b/roles/lokole/tasks/install.yml index 901356c91..d194b4deb 100644 --- a/roles/lokole/tasks/install.yml +++ b/roles/lokole/tasks/install.yml @@ -25,11 +25,15 @@ - name: "workaround for itsdangerous from https://itsmycode.com/importerror-cannot-import-name-json-from-itsdangerous/" pip: - name: itsdangerous - version: 2.0.1 + name: "{{ item.name }}" + version: "{{ item.version }}" virtualenv: "{{ lokole_venv }}" virtualenv_command: python3 -m venv "{{ lokole_venv }}" extra_args: --no-cache-dir # To avoid caching issues e.g. soon after new releases hit https://pypi.org/project/opwen-email-client/ + with_items: + - { name: 'itsdangerous', version: '2.0.1' } + - { name: 'Jinja2', version: '3.0.3' } + # For development purposes -- To install Lokole from a given commit, add the # following line to roles/lokole/defaults/main.yml: