Feat: add tasks virtualisation
This commit is contained in:
parent
5e5844c389
commit
52d8e11500
@ -151,7 +151,6 @@ pacman_pkgs:
|
||||
- "{{ pacman_3Dprint }}"
|
||||
- "{{ pacman_fonts }}"
|
||||
- "{{ pacman_programming }}"
|
||||
- "{{ pacman_virtualisation }}"
|
||||
- "{{ pacman_gtk }}"
|
||||
|
||||
aur_utils:
|
||||
|
@ -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
|
||||
|
13
roles/workstation/tasks/virtualisation.yml
Normal file
13
roles/workstation/tasks/virtualisation.yml
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user