2017-08-31 17:29:25 +00:00
|
|
|
- name: Teamviewer exclude ARM and debian family
|
2017-05-27 18:09:50 +00:00
|
|
|
set_fact:
|
|
|
|
teamviewer_install: False
|
|
|
|
teamviewer_enabled: "unavailable"
|
2017-08-31 17:29:25 +00:00
|
|
|
when: ansible_architecture == "armv7l" or not is_redhat
|
2017-05-27 18:09:50 +00:00
|
|
|
|
|
|
|
- name: Install Teamviewer if intel
|
|
|
|
include: install.yml
|
2017-08-31 17:29:25 +00:00
|
|
|
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 }}"
|