Fix passlib install
- Do not break idempotence on Debian Stretch - Python 2 must not be used now...feature/add_main_opts
parent
7135bc68e7
commit
815e39162a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue