kvm-host: manage dependencies
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2021-06-10 22:30:00 +02:00 committed by Jérémy Lecour
parent 9d0bfec87e
commit 53eaf085f5
3 changed files with 20 additions and 7 deletions

View File

@ -1,19 +1,20 @@
---
galaxy_info:
author: Evolix
company: Evolix
description: Install tools to set-up a KVM host
galaxy_tags: []
issue_tracker_url: https://gitea.evolix.org/evolix/ansible-roles/issues
license: GPLv2
min_ansible_version: 2.2
min_ansible_version: "2.2"
platforms:
- name: Debian
versions:
- jessie
- stretch
- buster
dependencies:
- { role: evolix/drbd, when: kvm_install_drbd }
- jessie
- stretch
- buster

View File

@ -1,5 +1,9 @@
---
- include_role:
name: evolix/drbd
when: kvm_install_drbd
## TODO: check why it's disabled
#- include: ssh.yml

View File

@ -1,4 +1,5 @@
---
- name: Install packages for kvm/libvirt
apt:
name:
@ -11,3 +12,10 @@
- libvirt-clients
- vlan
state: present
- name: Install packages for kvmstats
apt:
name:
- dialog
- html-xml-utils
state: present