mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-03-12 10:22:10 +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 }}"
|
||||
state: present
|
||||
|
||||
- name: APT | Install python-passlib
|
||||
- name: APT | Install passlib lib
|
||||
ansible.builtin.apt:
|
||||
pkg: "python{% if ansible_python_version is version('3', '>=') %}3{% endif %}-passlib"
|
||||
pkg: "python3-passlib"
|
||||
state: present
|
||||
|
||||
Reference in New Issue
Block a user