Security acess to a machine via Ansible

How can I ensure that a user that is used to play the playbooks does not have ssh access in any other way

I don't understand what you mean, since you have no answers other might have the same problem.
Could you please rephrase.

You can use Ansible Vault or go with Tower. It has support for teams.

Hi There,

The question is i have a user that i intend do restrict ssh to the client machine, but i use it to the ansible playbooks.

Best Regards

sábado, 24 de Fevereiro de 2018 às 16:14:32 UTC, Varun Chopra escreveu:

The easiest way is to only allow that user logging in with a specific
ssh key, then secure the private key and dole out access indirectly as
needed.

You could do this via sudo/acls/etc or you can use something like
AWX/Tower, which is designed for it.