-lots of changes for debian 12 and desktop

-trying to fix vnc - has to be manually started on user desktop now
This commit is contained in:
eve
2024-03-14 12:37:42 -04:00
parent 0bc52ca16f
commit 29ad17fc91
18 changed files with 219 additions and 23 deletions

21
roles/vnc7/tasks/main.yml Normal file
View File

@@ -0,0 +1,21 @@
---
# tasks file for vnc7
- name: "Installing the vnc package"
apt: pkg={{ item }} state=present
with_items:
- x11vnc
- xorg
become: true
- name: "Copying the vnc configuration file"
copy: src={{ role_path }}/files/vncserver@:0.service dest=/etc/systemd/system/vncserver@:0.service owner=root group=root mode=0644
become: true
- name: "Start & enable the vncserver"
systemd:
state: started
daemon_reload: yes
name: vncserver@:0
enabled: true
become: true