5bf96b27d6
This patch introduces a reverse proxy that terminates an HTTPS connection and forwards it to the redfish emulator behind that is running HTTP. Also the reverse proxy presents a self-signed certificate. Closes: #136 Relates-To: #136 Change-Id: If6ee705247ae8866d2674bff1ff034277f9c9177
25 lines
677 B
YAML
25 lines
677 B
YAML
- block:
|
|
- name: Ensuring python3-pip and support packages are present
|
|
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
fail:
|
|
msg: "CentoOS or RHEL is not currently supported"
|
|
|
|
- name: Ensuring python3-pip and support packages are present
|
|
become: true
|
|
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
|
|
apt:
|
|
name:
|
|
- python3-pip
|
|
- python3-libvirt
|
|
- python-libvirt
|
|
state: present
|
|
|
|
- name: Install required pip packages
|
|
pip:
|
|
name: "{{ item }}"
|
|
executable: pip3
|
|
with_items:
|
|
- pyOpenSSL
|
|
- passlib
|
|
become: true
|