These aren’t mutually exclusive.
Once you’ve got ansible (or similar) setup you just tell your agent too ssh to a host and perform tasks and it will. It will be able to use what it already knows about your systems from ansible, so it’s completely painless.
There is little value in this tool unless you plan to only do bespoke maintenance on individual hosts occasionally. Just invest a bit of time and do it right, it pays off very quickly.