0

I have one host abc.com where I have downloaded playbooks from GitHub. There are multiple users which can connect to abc.com but I want to restrict the playbook execution for specific user X.

So that only X can execute the playbooks not the other users.

How can I achieve this ?

1 Answer 1

1
  • Create new user,
  • set 0750 to new home directory,
  • put playbooks into new homedir,
  • allow your user to run sudo -u newuser ansible example.yml.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .