While sysadmins
having ssh/sudo rights on servers can trigger themselves remotely ad-hoc or role tasks through ansible from their main station, that's not the best practice.
Based on the Env, we have usually (can depend on ENV requirements), one host that is used to control the whole Infra/ENV.
On that host, we use ARA to keep track of playbooks execution on that host, while we also have log_path
set to also log to on-disk log files (rotated)
So the workflow goes like this :
inventory
, filestore
or pkistore
git reponow
: you kick the role task from the central ansible host to be ran directly