diff --git a/roles/remoteit/tasks/install.yml b/roles/remoteit/tasks/install.yml index 4e52bd586..4de54a116 100644 --- a/roles/remoteit/tasks/install.yml +++ b/roles/remoteit/tasks/install.yml @@ -47,7 +47,7 @@ state: directory path: /etc/remoteit -- name: "'touch /etc/remoteit/registration' to block generation of claim code below, also speeding things up a bit" +- name: "'touch /etc/remoteit/registration' (might contain a remoteit_license_key) to prevent generation of claim code below; also speeding things up a bit" file: state: touch path: /etc/remoteit/registration @@ -86,11 +86,13 @@ when: is_linuxmint -- name: "'rm /etc/remoteit/registration' (empty file used just above)" - file: - state: absent - path: /etc/remoteit/registration - ignore_errors: yes # In case a future version of install_agent.sh deletes it for us +# 2022-10-09: Let's keep the file (empty or not!) If it exists with size zero +# bytes, enable-or-disable.yml or /usr/bin/iiab-remoteit delete it later as nec. +# - name: "'rm /etc/remoteit/registration' (empty file used just above)" +# file: +# state: absent +# path: /etc/remoteit/registration +# ignore_errors: yes # In case a future version of install_agent.sh deletes it for us - name: Install /usr/bin/iiab-remoteit from template -- so IIAB operators can quickly enable remote.it AND generate a new remote.it claim code (in /etc/remoteit/config.json) -- optionally downloading + installing the very latest Device Package (like the 2 steps above)