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
2017-05-27 11:09:50 -07:00

24 lines
778 B
YAML

- name: Teamviewer exclude ARM
set_fact:
teamviewer_install: False
teamviewer_enabled: "unavailable"
when: ansible_architecture == "armv7l"
- name: Install Teamviewer if intel
include: install.yml
when: ansible_architecture == "i386" or ansible_architecture == "x86_64"
- 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 }}"