mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-05 12:22:09 +07:00
Fix passlib install
- Do not break idempotence on Debian Stretch - Python 2 must not be used now...
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user