mirror of
				https://github.com/geerlingguy/ansible-role-docker.git
				synced 2025-11-01 01:19:32 +01:00 
			
		
		
		
	Keyring removal is already handled by deb822 module.
This commit is contained in:
		
							parent
							
								
									8818e2b3e3
								
							
						
					
					
						commit
						894e30654f
					
				@ -51,8 +51,3 @@
 | 
			
		||||
 | 
			
		||||
- name: Ensure handlers are notified immediately to update the apt cache.
 | 
			
		||||
  ansible.builtin.meta: flush_handlers
 | 
			
		||||
 | 
			
		||||
- name: Remove Docker apt key if docker_add_repo is false.
 | 
			
		||||
  ansible.builtin.file:
 | 
			
		||||
    path: /etc/apt/keyrings/docker.asc
 | 
			
		||||
    state: "{{ 'file' if docker_add_repo | bool else 'absent' }}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user