mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
roles/remoteit: small fixes + cleanup
This commit is contained in:
parent
586efa1ecf
commit
da88bdba9e
3 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@
|
|||
# service, that they removed from 4.15.2 device packages on 2022-09-07.
|
||||
# (Either way, the job below never deletes /etc/remoteit/registration)
|
||||
|
||||
- name: 'Run /usr/share/remoteit/refresh.sh to put a claim code in /etc/remoteit/config.json (if you don't already have a license key in /etc/remoteit/registration) -- FYI this spawns 2 "child" services/daemons: schannel & e.g. remoteit@80:00:01:7F:7E:00:56:36.service'
|
||||
- name: 'Run /usr/share/remoteit/refresh.sh to put a claim code in /etc/remoteit/config.json (if you don''t already have a license key in /etc/remoteit/registration) -- FYI this spawns 2 "child" services/daemons: schannel & e.g. remoteit@80:00:01:7F:7E:00:56:36.service'
|
||||
command: /usr/share/remoteit/refresh.sh
|
||||
when: remoteit_enabled
|
||||
|
||||
|
|
|
@ -108,10 +108,10 @@
|
|||
mode: 0755
|
||||
|
||||
|
||||
- name: Fail if architecture remoteit_cli_suffix == "unknown"
|
||||
- name: Fail if architecture remoteit_arch == "unknown"
|
||||
fail:
|
||||
msg: "Could not find a remote.it CLI binary for CPU architecture \"{{ ansible_architecture }}\""
|
||||
when: remoteit_cli_suffix == "unknown"
|
||||
when: remoteit_arch == "unknown"
|
||||
|
||||
- name: Download OPTIONAL {{ remoteit_cli_url }} (CLI) to /usr/bin/remoteit (755)
|
||||
get_url:
|
||||
|
|
|
@ -55,7 +55,7 @@ if [ -f /etc/remoteit/config.json ]; then
|
|||
read -n 1 -r ans < /dev/tty # Prompt for a single character
|
||||
echo; echo
|
||||
|
||||
if [[ $ans =~ ^[nN]$ ]]; then # Nearly the same as Lines 142-189
|
||||
if [[ $ans =~ ^[nN]$ ]]; then # Nearly the same as Lines 140-185
|
||||
echo -e "Let's try to enable remote.it, with your existing /etc/remoteit/config.json...\n"
|
||||
|
||||
/usr/share/remoteit/refresh.sh # Just like connectd systemd service
|
||||
|
|
Loading…
Add table
Reference in a new issue