1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/teamviewer/tasks/main.yml

25 lines
765 B
YAML
Raw Normal View History

- name: Teamviewer exclude ARM and debian family
2017-05-27 18:09:50 +00:00
set_fact:
teamviewer_install: False
teamviewer_enabled: "unavailable"
when: ansible_architecture == "armv7l" or not is_redhat
2017-05-27 18:09:50 +00:00
- name: Install Teamviewer if intel
include: install.yml
when: teamviewer_install
2017-05-27 18:09:50 +00:00
- name: Add teamviewer to service list
ini_file: dest='{{ service_filelist }}'
section=teamviewer
option='{{ item.option }}'
value='{{ item.value }}'
with_items:
- option: name
value: teamviewer
- option: description
value: '"TeamViewer - the All-In-One Software for Remote Support and Online Meetings"'
- option: installed
value: "{{ teamviewer_install }}"
- option: enabled
value: "{{ teamviewer_enabled }}"