debian: add support

This patch adds support for this role to be able to deploy on
Debian Stretch.

Change-Id: I1058238e2467cc257ec48ba84fb89995079e9be7
Needed-By: I9a92b73c419a0dc1cca40dacfef75de61a61db94
This commit is contained in:
Mohammed Naser 2019-04-05 23:07:04 -04:00
parent 597127e60c
commit 1431472d26
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@
regexp: "^KSM_ENABLED=*" regexp: "^KSM_ENABLED=*"
backup: yes backup: yes
when: when:
- ansible_pkg_mgr == 'apt' - ansible_distribution == 'Ubuntu'
notify: Restart libvirt-bin notify: Restart libvirt-bin
tags: tags:
- nova-config - nova-config

View File

@ -70,7 +70,7 @@ nova_compute_kvm_distro_packages:
- bridge-utils - bridge-utils
- genisoimage - genisoimage
- kpartx - kpartx
- libvirt-bin - "{{ (ansible_distribution == 'Debian') | ternary('libvirt-daemon-system', 'libvirt-bin') }}"
- open-iscsi - open-iscsi
- python-guestfs - python-guestfs
- python3-guestfs - python3-guestfs