Ansible and tmux require a lot more knowledge to be effective with than cockpit does, if you have that knowledge great, but if you have fairly low (linux) skilled first line support or junior sysadmins then giving them a gui lets them solve lots of basic issues without escalating.
The problem with cockpit is that it doesn't do anything better than specific tools making it rather useless.