1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Fast /usr/bin/iiab-remoteit generates new claim code + optionally upgrades

This commit is contained in:
root 2022-04-03 21:57:23 -04:00
parent a77b95af20
commit a40183fd2e
4 changed files with 126 additions and 37 deletions

View file

@ -15,6 +15,8 @@
# force: yes
# timeout: "{{ download_timeout }}"
# 2022-04-03: Unfort still necessary, as their install_agent.sh below uses apt
# with 'install -y' instead of '-y reinstall' or '-y --reinstall install'
- name: Purge previously installed 'remoteit*' Device Package(s)
apt:
name: remoteit*
@ -34,7 +36,7 @@
shell: curl -L https://downloads.remote.it/remoteit/install_agent.sh | sh
- name: "Install from template /usr/bin/iiab-remoteit to quickly obtain a new remote.it claim code, if later nec (much like the above 2 steps)"
- name: "Install /usr/bin/iiab-remoteit from template -- so IIAB operators can quickly generate a new remote.it claim code (in /etc/remoteit/config.json) AND enable remoteit's 3 systemd services -- optionally downloading + installing the very latest Device Package (like the 2 steps above)"
template:
src: iiab-remoteit
dest: /usr/bin