1b01c94f15
If SELinux is enforcing we install VirtualBMC as a system Python package. The module is executed using become, and root typically doesn't have /usr/local/bin/ in it's PATH. Use an absolute path to resolve this issue. Change-Id: Ia278518d2c55351c55abca1122e7cad7179ad4d8
14 lines
550 B
YAML
14 lines
550 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 }}"
|
|
vbmc_path: "{{ vbmc_virtualenv_path | default('/usr/local', true) ~ '/bin/vbmc' }}"
|
|
become: true
|