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

24 lines
771 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='{{ 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 }}"