diff --git a/roles/workstation/defaults/main.yml b/roles/workstation/defaults/main.yml index f1e8031..0b668d1 100644 --- a/roles/workstation/defaults/main.yml +++ b/roles/workstation/defaults/main.yml @@ -151,7 +151,6 @@ pacman_pkgs: - "{{ pacman_3Dprint }}" - "{{ pacman_fonts }}" - "{{ pacman_programming }}" - - "{{ pacman_virtualisation }}" - "{{ pacman_gtk }}" aur_utils: diff --git a/roles/workstation/tasks/main.yml b/roles/workstation/tasks/main.yml index 0986d11..4a5016e 100644 --- a/roles/workstation/tasks/main.yml +++ b/roles/workstation/tasks/main.yml @@ -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 diff --git a/roles/workstation/tasks/virtualisation.yml b/roles/workstation/tasks/virtualisation.yml new file mode 100644 index 0000000..17a1421 --- /dev/null +++ b/roles/workstation/tasks/virtualisation.yml @@ -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 +