1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Merge pull request #3202 from holta/remoteit-mint

remoteit/tasks/install.yml: Refine PR #3201 using Ansible not bash
This commit is contained in:
A Holt 2022-04-29 16:06:23 -04:00 committed by GitHub
commit 346196f40c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,10 @@
# add a tag with the word 'Ubuntu' containing an uppercase 'U' as a workaround. # add a tag with the word 'Ubuntu' containing an uppercase 'U' as a workaround.
# (This hack can later be removed, if remote.it adjusts install_agent.sh above) # (This hack can later be removed, if remote.it adjusts install_agent.sh above)
- name: If Linux Mint, add "IIAB_LIKE=Ubuntu" to /etc/os-release to force install of remote.it - name: If Linux Mint, add "IIAB_LIKE=Ubuntu" to /etc/os-release to force install of remote.it
shell: echo "IIAB_LIKE=Ubuntu" >> /etc/os-release # shell: echo "IIAB_LIKE=Ubuntu" >> /etc/os-release
lineinfile:
path: /etc/os-release
line: IIAB_LIKE=Ubuntu
when: is_linuxmint when: is_linuxmint
# - name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh -- this puts a claim code in /etc/remoteit/config.json which is valid for 24h # - name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh -- this puts a claim code in /etc/remoteit/config.json which is valid for 24h