updated readme
This commit is contained in:
parent
7d75f4474f
commit
239ab69b34
@ -2,4 +2,7 @@
|
|||||||
URL: https://xpk.headdesk.me/git/xpk/role.vncserver
|
URL: https://xpk.headdesk.me/git/xpk/role.vncserver
|
||||||
|
|
||||||
## Required variables
|
## Required variables
|
||||||
- vnc.user
|
Please set the ```vncuser``` in your ansible inventory or playbook. The vncserver service will be started by this user.
|
||||||
|
|
||||||
|
## Tested on
|
||||||
|
- RHEL7
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
- name: Create xstartup file
|
- name: Create xstartup file
|
||||||
copy:
|
copy:
|
||||||
dest: "~{{vncuser}}/.vnc/xstartup"
|
dest: "~{{vncuser}}/.vnc/xstartup"
|
||||||
|
mode: 0755
|
||||||
content: |
|
content: |
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Uncomment the following two lines for normal desktop:
|
# Uncomment the following two lines for normal desktop:
|
||||||
@ -82,6 +83,12 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
- name: Disable firewalld
|
||||||
|
service:
|
||||||
|
name: firewalld
|
||||||
|
state: stopped
|
||||||
|
enabled: no
|
||||||
|
|
||||||
- name: Display vncpass
|
- name: Display vncpass
|
||||||
debug:
|
debug:
|
||||||
var: vncpass
|
var: vncpass
|
||||||
|
Loading…
Reference in New Issue
Block a user