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:
parent
35c21bf668
commit
5015913ce9
1 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue