I am using Ansible for config management and I'd like to adopt it even further to deploy custom code, which is compiled at some servers directly. There are no packages since the code is only internal and it's 12 Gentoo servers.
Can someone give me an example how you do this correctly? I checked for some snippets with the command
module but I don't think that is the way to do it.