Files
dsfin-ansible/roles/vnc/tasks/main.yaml
mpelle426 ed7eabd399 -numerous changes to work with Raspbian 10
-redo of some roles, particularly GUI
-modifications to support working from a "Raspbian Lite" install
2019-07-10 14:24:34 +01:00

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