thinlinc-server: Initial version of role

This commit is contained in:
Timo Makinen 2020-09-14 06:24:50 +00:00
parent 4901a345c5
commit dcb4e2a0aa
2 changed files with 65 additions and 0 deletions

View file

@ -0,0 +1,43 @@
---
- name: install prequisites
package:
name: "{{ item }}"
state: installed
with_items:
- python2
- name: install thinlinc repository
yum_repository:
name: thinlinc
baseurl: "https://mirrors.foo.sh/thinlinc/{{ ansible_architecture }}"
description: Cendio Thinlinc
gpgcheck: false
enabled: true
- name: install packages
package:
name: "{{ item }}"
state: installed
with_items:
- thinlinc-tladm
- thinlinc-tlmisc
- thinlinc-tlmisc-libs
- thinlinc-tlprinter
- thinlinc-vnc-server
- thinlinc-vsm
- thinlinc-webaccess
- name: run thinlinc setup
script:
cmd: tl-setup.local.sh
creates: /var/log/tlsetup.log
- name: start thinlinc services
service:
name: "{{ item }}"
state: started
enabled: true
with_items:
- tlwebadm.service
- vsmagent
- vsmserver