Feat: add tasks virtualisation
This commit is contained in:
@@ -151,7 +151,6 @@ pacman_pkgs:
|
|||||||
- "{{ pacman_3Dprint }}"
|
- "{{ pacman_3Dprint }}"
|
||||||
- "{{ pacman_fonts }}"
|
- "{{ pacman_fonts }}"
|
||||||
- "{{ pacman_programming }}"
|
- "{{ pacman_programming }}"
|
||||||
- "{{ pacman_virtualisation }}"
|
|
||||||
- "{{ pacman_gtk }}"
|
- "{{ pacman_gtk }}"
|
||||||
|
|
||||||
aur_utils:
|
aur_utils:
|
||||||
|
|||||||
@@ -42,6 +42,9 @@
|
|||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
- name: Virtualisation tools
|
||||||
|
import_tasks: virtualisation.yml
|
||||||
|
|
||||||
- name: activate autofs
|
- name: activate autofs
|
||||||
import_tasks: home_mounts.yml
|
import_tasks: home_mounts.yml
|
||||||
when: autofs | length > 0
|
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
|
||||||
|
|
||||||
Reference in New Issue
Block a user