Files
dsfin-ansible/roles/vnc/tasks/main.yaml
Pi 23915d0549 -change hosts file - will maintain hosts file on multipe machines.
for the scope of this type of demo network, this is much simpler
than installing and managing dns.
2019-03-14 12:55:33 -04:00

18 lines
456 B
YAML
Executable File

---
- 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