Skip to content

Commit 332f729

Browse files
authored
Merge pull request #995 from ajdecon/ood-python-dep
ood-wrapper: Don't install python3-passlib on CentOS 7
2 parents e606618 + 1226cf8 commit 332f729

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

roles/ood-wrapper/tasks/server.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@
6060
- python3-passlib
6161
tags:
6262
- configure
63+
when: (ansible_distribution == "Ubuntu") or ((ansible_os_family == "RedHat") and (ansible_distribution_major_version == "8"))
64+
65+
- name: install package dependency for htpasswd module
66+
package:
67+
name: "{{ item }}"
68+
state: present
69+
with_items:
70+
- python-passlib
71+
tags:
72+
- configure
73+
when: (ansible_os_family == "RedHat") and (ansible_distribution_major_version == "7")
6374

6475
- name: create .htpasswd entries
6576
htpasswd:

0 commit comments

Comments
 (0)