first commit

This commit is contained in:
xpk
2019-01-27 00:24:13 +08:00
commit 541be3dfa4
2 changed files with 30 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
# Ansible role for installing xrdp and gnome desktop environment
URL: https://xpk.headdesk.me/git/xpk/role.xrdp.git
## Tested platforms:
- RHEL7.6
+25
View File
@@ -0,0 +1,25 @@
- name: Install EPEL repo
yum:
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
state: installed
- name: Install Server with GUI group package, may take a while...
yum:
name: '@^Server with GUI'
state: latest
- name: Install vncserver
yum:
name:
- tigervnc-server
- xrdp
state: latest
- name: selinux stuff for xrdp
shell: "chcon --type=bin_t /usr/sbin/xrdp; chcon --type=bin_t /usr/sbin/xrdp-sesman"
- name: Enable and start xrdp service
service:
name: xrdp
state: started
enabled: yes