add xrdpuser

This commit is contained in:
xpk 2019-01-27 00:30:35 +08:00
parent 541be3dfa4
commit bdc8cc589b
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -23,3 +23,13 @@
name: xrdp name: xrdp
state: started state: started
enabled: yes enabled: yes
- name: Create user xrdpuser
user:
name: xrdpuser
shell: /bin/bash
password: "{{ lookup('password', '/dev/shm/xrdpuser chars=ascii_letters,digits,hexdigits length=15') }}"
- name: Display password of xrdpuser
debug:
var: "{{ lookup('password', '/dev/shm/xrdpuser chars=ascii_letters,digits,hexdigits length=15') }}"