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:
		
						commit
						6e8d0499b6
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -76,6 +76,15 @@
 | 
				
			||||||
- name: Install remote.it Device Package for your CPU/OS, using https://downloads.remote.it/remoteit/install_agent.sh
 | 
					- 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
 | 
					  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)"
 | 
					- name: "'rm /etc/remoteit/registration' (empty file used just above)"
 | 
				
			||||||
  file:
 | 
					  file:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue