1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Merge pull request #3269 from holta/mint-ansible-fix

remoteit/tasks/install.yml: Remove "IIAB_LIKE=Ubuntu" after workaround, for Ansible OS detection
This commit is contained in:
A Holt 2022-06-29 09:24:55 -04:00 committed by GitHub
commit 6e8d0499b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: