refs #8025 Configure base Debian host - Detalles en los nombres de las tareas y la condición when de Configure virtual machine

This commit is contained in:
Xavi Lleó 2024-10-02 12:15:01 +02:00
parent 8184838a8d
commit 896ba27da5
1 changed files with 4 additions and 4 deletions

View File

@ -2,13 +2,13 @@
hosts: all
vars_files: ../vault.yml
tasks:
- name: Configure virtual machine or host
- name: Configure virtual machine or host (not LXC)
import_role:
name: debian-host
when: ansible_virtualization_role == 'host' or ansible_virtualization_type == 'kvm'
- name: Configure base system
- name: Configure base system (all)
import_role:
name: debian-base
name: debian-base
- name: Configure guest
import_role:
name: debian-guest
@ -16,4 +16,4 @@
- name: Configure virtual machine
import_role:
name: debian-qemu
when: ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'kvm'
when: ansible_virtualization_type == 'kvm'