Allow access for VMs (virtiofs), support new hardware.
This commit is contained in:
parent
ec7b77411b
commit
396a91fb40
3 changed files with 9 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
- console-setup
|
- console-setup
|
||||||
- krb5-user
|
- krb5-user
|
||||||
- unattended-upgrades
|
- unattended-upgrades
|
||||||
extra_pkgs_bpo: [] # [ linux-image-amd64 ] # [ libreoffice ]
|
extra_pkgs_bpo: [ linux-image-amd64 ] # [ libreoffice ]
|
||||||
ansible_python_interpreter: "/usr/bin/python3"
|
ansible_python_interpreter: "/usr/bin/python3"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
server="{{ smb_server }}"
|
server="{{ smb_server }}"
|
||||||
path="{{ smb_share }}"
|
path="{{ smb_share }}"
|
||||||
mountpoint="/media/%(DOMAIN_USER)/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>
|
><not><or><user>root</user><user>ansible</user><user>Debian-gdm</user><user>sddm</user><user>virti</user></or></not></volume>
|
||||||
insertafter: "<!-- Volume definitions -->"
|
insertafter: "<!-- Volume definitions -->"
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,13 @@
|
||||||
autoremove: true
|
autoremove: true
|
||||||
when: ansible_distribution_release == 'bookworm'
|
when: ansible_distribution_release == 'bookworm'
|
||||||
|
|
||||||
|
- name: install squid
|
||||||
|
apt:
|
||||||
|
name:
|
||||||
|
- squid
|
||||||
|
state: latest
|
||||||
|
autoremove: true
|
||||||
|
|
||||||
- name: allow all users to use VMs
|
- name: allow all users to use VMs
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/libvirt/libvirtd.conf
|
dest: /etc/libvirt/libvirtd.conf
|
||||||
|
|
Loading…
Add table
Reference in a new issue