thinlinc-server: Initial version of role
This commit is contained in:
parent
4901a345c5
commit
dcb4e2a0aa
2 changed files with 65 additions and 0 deletions
43
roles/thinlinc-server/tasks/main.yml
Normal file
43
roles/thinlinc-server/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue