update..
This commit is contained in:
parent
0ffc26fdd9
commit
246c024874
@ -11,7 +11,7 @@
|
|||||||
# Source:
|
# Source:
|
||||||
# - http://c-nergy.be/blog/?p=8984
|
# - http://c-nergy.be/blog/?p=8984
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2005-amd64.yml) Install packages"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Install packages"
|
||||||
apt:
|
apt:
|
||||||
name: "{{ packages }}"
|
name: "{{ packages }}"
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
@ -20,20 +20,20 @@
|
|||||||
packages:
|
packages:
|
||||||
- x11vnc
|
- x11vnc
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2005-amd64.yml) Store password"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Store password"
|
||||||
raw: "x11vnc -storepasswd {{ vnc_password }} /etc/x11vnc.pass"
|
raw: "x11vnc -storepasswd {{ vnc_password }} /etc/x11vnc.pass"
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2005-amd64.yml) Set permissions on /etc/x11vnc.pass"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Set permissions on /etc/x11vnc.pass"
|
||||||
file:
|
file:
|
||||||
path: "/etc/x11vnc.pass"
|
path: "/etc/x11vnc.pass"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2005-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Transfer x11vnc.service.j2 to /lib/systemd/system/x11vnc.service"
|
||||||
template:
|
template:
|
||||||
src: lib/systemd/system/x11vnc.service.j2
|
src: lib/systemd/system/x11vnc.service.j2
|
||||||
dest: /lib/systemd/system/x11vnc.service
|
dest: /lib/systemd/system/x11vnc.service
|
||||||
|
|
||||||
- name: "(ubuntu-x11vnc-2005-amd64.yml) Enable service"
|
- name: "(ubuntu-x11vnc-1804-amd64.yml) Enable service"
|
||||||
systemd:
|
systemd:
|
||||||
name: x11vnc.service
|
name: x11vnc.service
|
||||||
daemon_reload: yes
|
daemon_reload: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user