We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e606618 + 1226cf8 commit 332f729Copy full SHA for 332f729
1 file changed
roles/ood-wrapper/tasks/server.yml
@@ -60,6 +60,17 @@
60
- python3-passlib
61
tags:
62
- 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")
74
75
- name: create .htpasswd entries
76
htpasswd:
0 commit comments