-numerous changes to work with Raspbian 10
-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Authentication=VncAuth
|
||||
Encryption=PreferOn
|
||||
Password=12d2f5a0e446b80ad72a2ec6a3688ee308f543f59d7bf06f
|
||||
|
||||
Authentication=VncAuth
|
||||
Encryption=PreferOn
|
||||
Password=12d2f5a0e446b80ad72a2ec6a3688ee308f543f59d7bf06f
|
||||
|
||||
|
||||
40
roles/vnc/tasks/main.yaml
Executable file → Normal file
40
roles/vnc/tasks/main.yaml
Executable file → Normal file
@@ -1,17 +1,23 @@
|
||||
---
|
||||
- name: enable vnc service and ensure it is not masked
|
||||
become: true
|
||||
systemd:
|
||||
name: vncserver-x11-serviced.service
|
||||
enabled: yes
|
||||
masked: no
|
||||
state: restarted
|
||||
tags: enable_vnc
|
||||
- name: copy vnc configuration with password
|
||||
become: true
|
||||
copy:
|
||||
src: "{{ role_path }}/files/vncserver-x11"
|
||||
dest: /root/.vnc/config.d/vncserver-x11
|
||||
owner: root
|
||||
group: root
|
||||
tags: vnc_config
|
||||
---
|
||||
- name: enable vnc service and ensure it is not masked
|
||||
become: true
|
||||
systemd:
|
||||
name: vncserver-x11-serviced.service
|
||||
enabled: yes
|
||||
masked: no
|
||||
state: restarted
|
||||
tags: enable_vnc
|
||||
- name: copy vnc configuration with password
|
||||
become: true
|
||||
copy:
|
||||
src: "{{ role_path }}/files/vncserver-x11"
|
||||
dest: /root/.vnc/config.d/vncserver-x11
|
||||
owner: root
|
||||
group: root
|
||||
tags: vnc_config
|
||||
- name: set lxde in .xsession
|
||||
lineinfile:
|
||||
path: /home/pi/.xsession
|
||||
line: lxsession -s Lubuntu -e LXDE
|
||||
create: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user