Install sushy-oem-idrac for idrac-redfish-virtual-media

Change-Id: I69d073e4fdcd52dbf9e6c8da6cd4626aaa98c16f
This commit is contained in:
Dmitry Tantsur 2021-07-20 14:37:39 +02:00
parent 49fb766bbb
commit 1ac7dfe9e7
3 changed files with 13 additions and 5 deletions

View File

@ -28,9 +28,6 @@
- name: "Ensure /opt/stack is present" - name: "Ensure /opt/stack is present"
file: name=/opt/stack state=directory owner=root group=root file: name=/opt/stack state=directory owner=root group=root
- name: "Install vendor dependencies"
import_tasks: vendor_deps.yml
- name: "IPA-builder - Install" - name: "IPA-builder - Install"
include_role: include_role:
name: bifrost-pip-install name: bifrost-pip-install
@ -65,6 +62,9 @@
sourcedir: "{{ sushy_git_folder }}" sourcedir: "{{ sushy_git_folder }}"
source_install: "{{ sushy_source_install }}" source_install: "{{ sushy_source_install }}"
- name: "Install vendor dependencies"
import_tasks: vendor_deps.yml
- name: "Ironic Client - Install" - name: "Ironic Client - Install"
include_role: include_role:
name: bifrost-pip-install name: bifrost-pip-install

View File

@ -18,9 +18,12 @@
package: proliantutils package: proliantutils
when: "'ilo' in enabled_hardware_types" when: "'ilo' in enabled_hardware_types"
- name: "dracclient - Install" - name: "dracclient, sushy-oem-idrac - Install"
include_role: include_role:
name: bifrost-pip-install name: bifrost-pip-install
vars: vars:
package: python-dracclient package: "{{ item }}"
loop:
- python-dracclient
- sushy-oem-idrac
when: "'idrac' in enabled_hardware_types" when: "'idrac' in enabled_hardware_types"

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Installs `sushy-oem-idrac <https://pypi.org/project/sushy-oem-idrac/>`_
when the ``idrac`` hardware type is enabled.