Omg! It works! Add setting enforcement.
This commit is contained in:
parent
3a90368883
commit
dcf3536526
@ -1,8 +1,6 @@
|
|||||||
---
|
---
|
||||||
# Allow remote viewing via open/free RDP.
|
# Allow remote viewing via open/free RDP.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Workstation | Settings | RDP | FreeBSD | Install
|
- name: Workstation | Settings | RDP | FreeBSD | Install
|
||||||
package:
|
package:
|
||||||
name: xrdp
|
name: xrdp
|
||||||
@ -21,12 +19,22 @@
|
|||||||
backup: yes
|
backup: yes
|
||||||
when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
#- name: Workstation | Settings | RDP | FreeBSD | Enable GNOME?
|
- name: Workstation | Settings | RDP | FreeBSD | Enable GNOME
|
||||||
# lineinfile: search for gnome-session and uncomment it
|
lineinfile:
|
||||||
# path: /usr/local/etc/xrdp/startwm.sh
|
path: /usr/local/etc/xrdp/startwm.sh
|
||||||
# when: ansible_system == "FreeBSD"
|
regexp: 'gnome-session'
|
||||||
#
|
line: 'exec gnome-session # MANAGED BY ANSIBLE'
|
||||||
#- name: Workstation | Settings | RDP | FreeBSD | Disable XTERM?
|
state: present
|
||||||
# lineinfile: search for gnome-session and uncomment it
|
create: yes
|
||||||
# path: /usr/local/etc/xrdp/startwm.sh
|
backup: yes
|
||||||
# when: ansible_system == "FreeBSD"
|
when: ansible_system == "FreeBSD"
|
||||||
|
|
||||||
|
- name: Workstation | Settings | RDP | FreeBSD | Disable xterm
|
||||||
|
lineinfile:
|
||||||
|
path: /usr/local/etc/xrdp/startwm.sh
|
||||||
|
regexp: 'xterm'
|
||||||
|
line: '#exec xterm # MANAGED BY ANSIBLE'
|
||||||
|
state: present
|
||||||
|
create: yes
|
||||||
|
backup: yes
|
||||||
|
when: ansible_system == "FreeBSD"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user