vn-ansible/playbooks/debian.yml

17 lines
441 B
YAML
Raw Normal View History

2024-09-23 12:30:38 +00:00
- hosts: all
tasks:
2024-09-23 14:32:28 +00:00
- name: Configure AWX user
import_role:
name: awx
- name: Configure base system
import_role:
name: debian-base
2024-09-23 14:32:28 +00:00
- name: Configure guest
import_role:
name: debian-guest
when: ansible_virtualization_role == 'guest'
2024-09-23 14:32:28 +00:00
- name: Configure virtual machine
import_role:
name: debian-qemu
when: ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'kvm'