virt/handlers/main.yml
2019-04-11 18:54:12 +02:00

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