mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
exploration of using ansible on an interactive device install. No work
This commit is contained in:
parent
c4d6597d74
commit
8123c5dfb1
2 changed files with 23 additions and 1 deletions
|
|
@ -4,9 +4,19 @@
|
|||
dest: /usr/bin/
|
||||
mode: 0755
|
||||
|
||||
- name: Fetch the remoteit device package
|
||||
get_url:
|
||||
url: '{{ remoteit_device_url }}'
|
||||
dest: '{{ downloads_dir }}'
|
||||
|
||||
- name: uninstall the device package
|
||||
apt:
|
||||
name: '{{ remoteit_device_url | basename }}'
|
||||
state: absent
|
||||
|
||||
- name: Install the device package
|
||||
apt:
|
||||
deb: '{{ remoteit_device_url }}'
|
||||
deb: '{{ downloads_dir }}/{{ remoteit_device_url | basename }}'
|
||||
state: present
|
||||
|
||||
# RECORD remoteit AS INSTALLED
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue