Use the community.docker.docker_compose_v2 module as it supports proper changed handling out of the box, making the roles code more straightforward and work. Also just do a docker compose restart instead of having the custom docker compose reload script. https://docs.ansible.com/ansible/latest/collections/community/docker/docker_compose_v2_module.html
		
			
				
	
	
		
			1 line
		
	
	
	
		
			41 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			1 line
		
	
	
	
		
			41 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
docker_compose__configuration_files: [ ]
 |