2019-04-09 17:42:12 +00:00
|
|
|
---
|
|
|
|
# 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
|
2019-04-11 16:54:12 +00:00
|
|
|
shell: netctl enable bridge
|
2019-04-09 17:42:12 +00:00
|
|
|
|