diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-04-22 22:15:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-04-22 22:15:02 +0300 |
commit | 8bc9570e2af51e1a6b30c4ea0c61b104c33abeb8 (patch) | |
tree | f24c69f17380ee52b91d38e86e5033b6cc412092 /ansible/roles/vmhost | |
parent | 36571ce5f37b44a0fa25d760bc65b048a9905bba (diff) | |
download | ansibleness-8bc9570e2af51e1a6b30c4ea0c61b104c33abeb8.tar.gz |
Fix vmhost for stretch/unstable
Diffstat (limited to 'ansible/roles/vmhost')
-rw-r--r-- | ansible/roles/vmhost/tasks/main.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/roles/vmhost/tasks/main.yml b/ansible/roles/vmhost/tasks/main.yml index 7e828c2..83b8594 100644 --- a/ansible/roles/vmhost/tasks/main.yml +++ b/ansible/roles/vmhost/tasks/main.yml @@ -1,6 +1,13 @@ --- - apt: name=qemu-kvm - apt: name=libvirt-bin + when: distro == "jessie" +- apt: + name: "{{ item }}" + with_items: + - libvirt-daemon-system + - libvirt-clients + when: distro == "stretch" or distro == "unstable" - apt: name=virtinst - apt: name=virt-manager ... |