Your local changes to the following files would be overwritten by checkout

The usual cause to this happening is running a git pull from inside of lib/ansible/modules/core

The cause to the mention of -dirty is that “Submodules are now regarded as dirty if they have any modified files or untracked files”

In your case it seems to indicate that you have changes to cloud/docker/docker_image.py

I do not have access to your full workflow, but I am guessing you are performing git checkout or git pull or other such things in the submodules. If you do these types of things, expect to have to reset and update your submodules.