Merge "Install passlib to venv (htpasswd)"

This commit is contained in:
Zuul 2022-11-07 13:23:44 +00:00 committed by Gerrit Code Review
commit d30dfccf04
3 changed files with 10 additions and 9 deletions

View File

@ -31,7 +31,6 @@ required_packages:
- socat - socat
- gcc - gcc
- dnsmasq - dnsmasq
- apache2-utils
- isolinux - isolinux
- dosfstools - dosfstools
# NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the # NOTE(TheJulia): The above entry for dnsmasq must be the last entry in the

View File

@ -33,6 +33,5 @@ required_packages:
- socat - socat
- firewalld - firewalld
- python3-firewall - python3-firewall
- httpd-tools
- syslinux-nonlinux - syslinux-nonlinux
- dosfstools - dosfstools

View File

@ -42,11 +42,20 @@
- ansible_distribution == "RedHat" - ansible_distribution == "RedHat"
- ansible_distribution_version|int >= 9 - ansible_distribution_version|int >= 9
- name: "Install packages" - name: "Install system packages"
package: package:
name: "{{ required_packages }}" name: "{{ required_packages }}"
state: present state: present
- name: "Install python packages (in venv)"
include_role:
name: bifrost-pip-install
vars:
package: "{{ item }}"
with_items:
- passlib
- pymysql
- name: "Install Nginx" - name: "Install Nginx"
import_role: import_role:
name: bifrost-nginx-install name: bifrost-nginx-install
@ -113,12 +122,6 @@
package: metalsmith package: metalsmith
source_install: false source_install: false
- name: "Install pymysql"
include_role:
name: bifrost-pip-install
vars:
package: pymysql
- name: "Install extra packages for ironic" - name: "Install extra packages for ironic"
include_role: include_role:
name: bifrost-pip-install name: bifrost-pip-install