
Virtualbmc domain creation can be unreliable, in particular when domains already exist. This is in part due to the vbmc stop command not functioning properly [1]. By moving the domain management into a Python module we can better control the process of creation, and improve performance. [1] https://storyboard.openstack.org/#!/story/2003534 Change-Id: I52cb08cd0d300630cb6341f50eb0484c1d16daa4
14 lines
529 B
YAML
14 lines
529 B
YAML
---
|
|
- name: Ensure domain {{ vbmc_domain }} is configured
|
|
virtualbmc_domain:
|
|
domain: "{{ vbmc_domain }}"
|
|
ipmi_address: "{{ vbmc_ipmi_address }}"
|
|
ipmi_port: "{{ vbmc_ipmi_port }}"
|
|
ipmi_username: "{{ vbmc_ipmi_username }}"
|
|
ipmi_password: "{{ vbmc_ipmi_password }}"
|
|
libvirt_uri: "{{ vbmc_libvirt_uri | default(omit, true) }}"
|
|
log_directory: "{{ vbmc_log_directory | default(omit, true) }}"
|
|
state: "{{ vbmc_state }}"
|
|
virtualenv: "{{ vbmc_virtualenv_path | default(omit, true) }}"
|
|
become: true
|