1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Lint & Clarify roles/remoteit/tasks/install.yml

This commit is contained in:
A Holt 2021-10-27 19:10:09 -04:00 committed by GitHub
parent 35c21bf668
commit 5015913ce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,24 @@
- name: Download the command line interface for this device
- name: Download the command line interface for this device to /usr/bin/{{ remoteit_cli_url }} (755)
get_url:
url: '{{ remoteit_cli_url }}'
dest: /usr/bin/
mode: 0755
url: '{{ remoteit_cli_url }}'
dest: /usr/bin/
mode: 0755
- name: Fetch the remoteit device package
- name: Download {{ remoteit_device_url }} device package to {{ downloads_dir }}
get_url:
url: '{{ remoteit_device_url }}'
dest: '{{ downloads_dir }}'
url: '{{ remoteit_device_url }}'
dest: '{{ downloads_dir }}'
- name: uninstall the device package
- name: Uninstall the device package {{ remoteit_device_url | basename }}
apt:
name: '{{ remoteit_device_url | basename }}'
state: absent
- name: Install the device package
name: '{{ remoteit_device_url | basename }}'
state: absent
- name: Install device package {{ downloads_dir }}/{{ remoteit_device_url | basename }}
apt:
deb: '{{ downloads_dir }}/{{ remoteit_device_url | basename }}'
state: present
deb: '{{ downloads_dir }}/{{ remoteit_device_url | basename }}'
state: present
# RECORD remoteit AS INSTALLED