From 2dd7a54ae78f1f5501c297264a5e19a2d442b089 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 29 Apr 2022 16:00:28 -0400 Subject: [PATCH] remoteit/tasks/install.yml: Refine PR #3201 using Ansible not bash --- roles/remoteit/tasks/install.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/remoteit/tasks/install.yml b/roles/remoteit/tasks/install.yml index cf741ccf0..ee838b9d3 100644 --- a/roles/remoteit/tasks/install.yml +++ b/roles/remoteit/tasks/install.yml @@ -66,7 +66,10 @@ # 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) - 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 # - 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