How can i specify --rm with Docker run command to make sure the containers are cleaned up on exit ?

As per the Docker docs for Docker run - https://docs.docker.com/engine/reference/run/
In the section clean up, it is mentioned that - to automatically clean up the container and remove the file system when the container exits, you can add the --rm flag

But i can’t see any option in Ansible’s docker module to specify this. How can do this in Ansible ?

Still couldn’t find anything. There’s gotta be a way in ansible to specify this or maybe an option to specify all other switches.