-redo of some roles, particularly GUI -modifications to support working from a "Raspbian Lite" install
24 lines
608 B
YAML
24 lines
608 B
YAML
---
|
|
- 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
|
|
|