Hyperling
791dc245a6
* Add volume key controls. * Add placeholder for LBRY app. * Refactor gui into gnome and packages. Remove deprecated lineinfiles. Enhance package management. * Variablize tar to fix FreeBSD. * Variablize tar to fix FreeBSD. * Take FreeBSD gui.yml refactor into account. * Unfinished changes to use self-signed cert so local traffic can hit https. Server starts fine, but getting "gnutls_handshake() failed: An unexpected TLS packet was received." on client's `git clone`. * Make D2D optional. FreeBSD is still having a hard time compiling it. * Use a block for Dash To Dock so only one ignore_errors is necessary. * Deprecate miner section since machines have been decommissioned. * Remove deprecated file. * Switch to lightdm on FreeBSD. * Automate GPU driver installation. * Updated DWM config and added TODO's. * Move lynis to src folder for cleanliness. * Remove debug. * Refactor for "shared" system type folder. * Fix FreeBSD gpu.yml location. * Add a default hosts file to hide warnings.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
---
|
|
# Allow remote viewing via open/free RDP.
|
|
|
|
- name: Workstation | Settings | RDP | FreeBSD | Install
|
|
package:
|
|
name: xrdp
|
|
state: present
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
- name: Workstation | Settings | RDP | FreeBSD | Enable
|
|
blockinfile:
|
|
path: "{{ rc_conf }}"
|
|
marker: "# {mark} MANAGED BY ANSIBLE | RDP Components"
|
|
block: |
|
|
xrdp_enable="YES"
|
|
xrdp_sesman_enable="YES"
|
|
state: present
|
|
create: yes
|
|
backup: yes
|
|
when: ansible_system == "FreeBSD"
|
|
|
|
- name: Workstation | Settings | RDP | FreeBSD | Enable GNOME
|
|
lineinfile:
|
|
path: /usr/local/etc/xrdp/startwm.sh
|
|
regexp: 'gnome-session'
|
|
line: 'exec gnome-session # MANAGED BY ANSIBLE'
|
|
state: present
|
|
create: yes
|
|
backup: yes
|
|
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"
|