diff --git a/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml b/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml index 8e9016214..abe664586 100644 --- a/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml +++ b/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml @@ -173,6 +173,24 @@ become: true register: vbmcd_service_file +- name: create Virtual BMC configuration directory + file: + path: /etc/virtualbmc + state: directory + owner: root + group: root + mode: 0755 + become: true + +- name: write Virtual BMC configuration file + template: + src: virtualbmc.conf + dest: /etc/virtualbmc/virtualbmc.conf + owner: root + group: root + mode: 0600 + become: true + - name: ensure Virtual BMC systemd service is started and enabled systemd: name: vbmcd diff --git a/playbooks/roles/bifrost-create-vm-nodes/templates/virtualbmc.conf b/playbooks/roles/bifrost-create-vm-nodes/templates/virtualbmc.conf new file mode 100644 index 000000000..bf99bde76 --- /dev/null +++ b/playbooks/roles/bifrost-create-vm-nodes/templates/virtualbmc.conf @@ -0,0 +1,2 @@ +[log] +debug = True