summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml')
-rw-r--r--xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml b/xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml
index faf19a6f..06afaec3 100644
--- a/xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml
+++ b/xci/playbooks/roles/create-nodes/tasks/prepare_libvirt.yml
@@ -125,5 +125,15 @@
- name: install virtualbmc
pip:
name: virtualbmc
- version: 1.3 # >1.3 needs zmq dependency.
+ version: 1.5 # >1.3 needs zmq dependency.
virtualenv: "{{ lookup('env', 'XCI_VENV') }}"
+
+- name: Create directory for the config of vbmc
+ file:
+ path: /etc/virtualbmc
+ state: directory
+
+- name: Place the config for virtualbmc
+ copy:
+ src: virtualbmc.conf
+ dest: /etc/virtualbmc/virtualbmc.conf