Feat: add tasks virtualisation

This commit is contained in:
Bertrand Benjamin 2022-01-13 05:56:29 +01:00
parent 5e5844c389
commit 52d8e11500
3 changed files with 16 additions and 1 deletions

View File

@ -151,7 +151,6 @@ pacman_pkgs:
- "{{ pacman_3Dprint }}"
- "{{ pacman_fonts }}"
- "{{ pacman_programming }}"
- "{{ pacman_virtualisation }}"
- "{{ pacman_gtk }}"
aur_utils:

View File

@ -42,6 +42,9 @@
enabled: yes
state: started
- name: Virtualisation tools
import_tasks: virtualisation.yml
- name: activate autofs
import_tasks: home_mounts.yml
when: autofs | length > 0

View File

@ -0,0 +1,13 @@
---
- name: Install pkgs
community.general.pacman:
name: "{{ item }}"
state: present
with_items: "{{ pacman_virtualisation }}"
- name: enable service libvirtd
systemd:
name: libvirtd
enabled: yes
state: started