1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00
iiab/roles/teamviewer/tasks/main.yml
2018-10-15 06:13:57 -04:00

24 lines
768 B
YAML

- name: Teamviewer exclude ARM and debian family
set_fact:
teamviewer_install: False
teamviewer_enabled: "unavailable"
when: ansible_architecture == "armv7l" or not is_redhat
- name: Install Teamviewer if intel
include_tasks: install.yml
when: teamviewer_install
- name: Add teamviewer to service list
ini_file: dest='{{ iiab_ini_file }}'
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 }}"