eversonleal / pamansibleinventory

An Ansible dynamic inventory to run playbooks getting SSH user's password from BeyondTrust Privileged Account Management through API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is it?

An Ansible dynamic inventory to run playbooks getting SSH user's password from BeyondTrust Privileged Account Management through API.

How to:

Password Safe account settings:

Set environment passwords based on informations from Password Safe

  export PS_AUTH_KEY= #Auth key generated above\
  export PS_RUN_AS= #Username created\
  export PS_REASON= #Some description\
  export PS_DURATION_MINUTES= #Duration, it musb be longest than the playbook takes to run completelly\
  export PS_SERVERS= #Comma separated server names\
  export PS_BASE_URL= #PAM API base URL\
  export PS_GROUP_NAME= #Group that the playbook expects to run the commands\

About

An Ansible dynamic inventory to run playbooks getting SSH user's password from BeyondTrust Privileged Account Management through API.


Languages

Language:Python 99.1%Language:Shell 0.9%