From 60745e3e59e4a3a060c7f02894d4fb383adc278e Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Jun 2022 09:06:08 -0400 Subject: [PATCH] remoteit/tasks/install.yml: Remove "IIAB_LIKE=Ubuntu" after workaround, for Ansible --- roles/remoteit/tasks/install.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/remoteit/tasks/install.yml b/roles/remoteit/tasks/install.yml index ee838b9d3..4e52bd586 100644 --- a/roles/remoteit/tasks/install.yml +++ b/roles/remoteit/tasks/install.yml @@ -76,6 +76,15 @@ - name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh shell: curl -L https://downloads.remote.it/remoteit/install_agent.sh | sh +# 2022-06-29: Ansible misinterprets "IIAB_LIKE=Ubuntu" (interpreting the entire +# OS as Ubuntu instead of Mint, on later Ansible runs) so let's remove line now. +- name: If Linux Mint, remove above "IIAB_LIKE=Ubuntu" from /etc/os-release (for Ansible's sloppy OS recognition logic) + lineinfile: + path: /etc/os-release + line: IIAB_LIKE=Ubuntu + state: absent + when: is_linuxmint + - name: "'rm /etc/remoteit/registration' (empty file used just above)" file: