virt/handlers/main.yml

18 lines
323 B
YAML
Raw Normal View History

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
shell: netctl enable bridge && systemctl disable dhcpcd