Fix passlib install

- Do not break idempotence on Debian Stretch
- Python 2 must not be used now...
feature/add_main_opts
Emilien Mantel 2021-09-10 16:43:32 +02:00
parent 7135bc68e7
commit 815e39162a
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
pkg: "{{ nginx_module_packages }}" pkg: "{{ nginx_module_packages }}"
state: present state: present
- name: APT | Install python-passlib - name: APT | Install passlib lib
ansible.builtin.apt: ansible.builtin.apt:
pkg: "python{% if ansible_python_version is version('3', '>=') %}3{% endif %}-passlib" pkg: "python3-passlib"
state: present state: present