aboutsummaryrefslogblamecommitdiffstats
path: root/roles/_workstation/libvirt/tasks/main.yml
blob: 91b74a24cfcd46ff54657e9ddb0294c23bba6da4 (plain) (tree)
1
2
3
4
5
6
7
8
9

   
                            

                                                         

                                           
                       
                          







                                          
                       
                                          




                        
---

- name: install iptables-nft
  ansible.builtin.shell: yes
    | pacman --noprogressbar --needed --sync iptables-nft
  when: ansible_distribution == "Archlinux"

- name: install libvirt
  ansible.builtin.package:
    name:
      - cdrtools
      - dnsmasq
      - ebtables
      - libvirt
    state: present

- name: append current user to virt groups
  ansible.builtin.user:
    name: "{{ libvirt_workstation_user }}"
    groups: "{{ item }}"
    append: true
  loop:
    - kvm
    - libvirt
remember that computers suck.