Allow access for VMs (virtiofs), support new hardware.

This commit is contained in:
Andreas B. Mundt 2023-01-31 08:23:20 +01:00
parent ec7b77411b
commit 396a91fb40
3 changed files with 9 additions and 2 deletions

View file

@ -22,7 +22,7 @@
- console-setup
- krb5-user
- unattended-upgrades
extra_pkgs_bpo: [] # [ linux-image-amd64 ] # [ libreoffice ]
extra_pkgs_bpo: [ linux-image-amd64 ] # [ libreoffice ]
ansible_python_interpreter: "/usr/bin/python3"
roles:

View file

@ -17,7 +17,7 @@
server="{{ smb_server }}"
path="{{ smb_share }}"
mountpoint="/media/%(DOMAIN_USER)/share"
options="sec=krb5i,cruid=%(USERUID),user=%(USER)"
options="sec=krb5i,cruid=%(USERUID),user=%(USER),gid=1001,file_mode=0770,dir_mode=0770"
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>virti</user></or></not></volume>
insertafter: "<!-- Volume definitions -->"

View file

@ -18,6 +18,13 @@
autoremove: true
when: ansible_distribution_release == 'bookworm'
- name: install squid
apt:
name:
- squid
state: latest
autoremove: true
- name: allow all users to use VMs
lineinfile:
dest: /etc/libvirt/libvirtd.conf