2de3a2c578
Upstream Ansible OpenStack modules now use openstacksdk rather than shade. Switch local Ansible modules to follow suit. Also switch to use the stackhpc.os_openstacksdk role from stackhpc.os-shade. The stackhpc.os-shade role is removed during 'kayobe control host upgrade'. Change-Id: Id3894c3c36ef99f00ed463de6a3457e11733d6b7 Story: 2007294 Task: 38759
23 lines
1.1 KiB
YAML
23 lines
1.1 KiB
YAML
---
|
|
- name: Ensure introspection rules are registered in Bifrost
|
|
hosts: seed
|
|
tags:
|
|
- introspection-rules
|
|
roles:
|
|
- role: ironic-inspector-rules
|
|
os_openstacksdk_install_epel: "{{ yum_install_epel }}"
|
|
os_openstacksdk_state: latest
|
|
ironic_inspector_venv: "{{ virtualenv_path }}/openstacksdk"
|
|
ironic_inspector_upper_constraints_file: "{{ pip_upper_constraints_file }}"
|
|
# No auth required for Bifrost.
|
|
ironic_inspector_auth_type: None
|
|
ironic_inspector_auth: {}
|
|
ironic_inspector_url: "http://localhost:5050"
|
|
ironic_inspector_rules: "{{ kolla_bifrost_inspector_rules }}"
|
|
# These variables may be referenced in the introspection rules.
|
|
inspector_rule_var_ipmi_username: "{{ kolla_bifrost_inspector_ipmi_username }}"
|
|
inspector_rule_var_ipmi_password: "{{ kolla_bifrost_inspector_ipmi_password }}"
|
|
inspector_rule_var_lldp_switch_port_interface: "{{ kolla_bifrost_inspector_lldp_switch_port_interface }}"
|
|
inspector_rule_var_deploy_kernel: "{{ kolla_bifrost_inspector_deploy_kernel }}"
|
|
inspector_rule_var_deploy_ramdisk: "{{ kolla_bifrost_inspector_deploy_ramdisk }}"
|