18 lines
295 B
YAML
18 lines
295 B
YAML
---
|
|
# handlers file for vmserver
|
|
- name: Enable and start libvirt services
|
|
systemd:
|
|
name: '{{ item }}'
|
|
enabled: True
|
|
state: started
|
|
with_items:
|
|
- libvirtd.service
|
|
- libvirt-guests.service
|
|
become: yes
|
|
|
|
|
|
- name: bridge_enable
|
|
become: yes
|
|
shell: netctl enable bridge
|
|
|