| 
					
				 | 
			
			
				@@ -9,10 +9,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Gather facts now that Python is installed 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ansible.builtin.setup: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-- name: Set Devices 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  ansible.builtin.set_fact: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    devices: "{{ ansible_devices | dict2items }}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 - name: Find correct device 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   ansible.builtin.set_fact: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     device: "{{ item }}" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -21,7 +17,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - item.value.host != "" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     - item.value.removable|int == 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   with_items: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    - "{{ devices }}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    - "{{ ansible_devices | dict2items }}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   loop_control: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     label: "{{ item.key }}" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |