add xrdpuser
This commit is contained in:
parent
541be3dfa4
commit
bdc8cc589b
@ -23,3 +23,13 @@
|
||||
name: xrdp
|
||||
state: started
|
||||
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') }}"
|
||||
|
Loading…
Reference in New Issue
Block a user