2022-01-08 03:04:42 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Install LightBurn dependencies
|
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- libpulse-mainloop-glib0
|
|
|
|
- libnss3
|
|
|
|
|
|
|
|
- name: Create LightBurn group
|
2022-01-09 18:19:16 +01:00
|
|
|
group: name={{ xrdp_applications.LightBurn.group }}
|
2022-01-08 03:04:42 +01:00
|
|
|
|
|
|
|
- name: Create LightBurn user
|
2022-01-09 18:19:16 +01:00
|
|
|
user: name={{ xrdp_applications.LightBurn.user }} password={{ xrdp_applications.LightBurn.pass | password_hash('sha512', xrdp_applications.LightBurn.salt) }} home=/home/{{ xrdp_applications.LightBurn.user }} group={{ xrdp_applications.LightBurn.group }}
|
2022-01-08 03:04:42 +01:00
|
|
|
|
|
|
|
- name: Create LightBurn .xsession
|
2022-01-09 18:19:16 +01:00
|
|
|
template: src=lightburn_xsession.j2 dest=/home/{{ xrdp_applications.LightBurn.user }}/.xsession
|
2022-01-08 03:04:42 +01:00
|
|
|
|
|
|
|
- name: Create LightBurn data directory
|
2022-01-09 18:19:16 +01:00
|
|
|
file: path=/home/{{ xrdp_applications.LightBurn.user }}/data state=directory mode=0755 owner={{ xrdp_applications.LightBurn.user }} group={{ xrdp_applications.LightBurn.group }}
|
2022-01-08 03:04:42 +01:00
|
|
|
|
2022-01-09 16:37:41 +01:00
|
|
|
- name: Create info directory
|
|
|
|
file:
|
2022-01-09 18:19:16 +01:00
|
|
|
path: "/home/{{ xrdp_applications.LightBurn.user }}/data/{{ info_folder_name }}"
|
2022-01-09 16:37:41 +01:00
|
|
|
state: directory
|
|
|
|
mode: 0444
|
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
|
2022-01-08 03:04:42 +01:00
|
|
|
- name: Download LightBurn binary
|
2022-01-09 18:19:16 +01:00
|
|
|
get_url: url={{ lightburn_url }} dest={{ lightburn_target }} checksum={{ xrdp_applications.LightBurn.checksum }} mode=0755
|
2022-01-08 03:04:42 +01:00
|
|
|
notify: Install LightBurn
|