2

Which password database system work with ansible to manage password of network devices and servers?

3
  • 1
    What tools did you find? Did you look into ansible-vault?
    – 030
    Sep 9, 2018 at 9:30
  • @BOMA: What "password database system" would you like to use? Sep 9, 2018 at 10:43
  • Short answer : All password database system with an API
    – storm
    Sep 27, 2018 at 7:50

1 Answer 1

3

Any system would do. You might need to write a wrapper. For example:

> cat get-passwd-01.yml
- hosts: localhost
  gather_facts: no
  tasks:
    - command: ~/bin/get-passwd user9
      register: password
    - debug:
        msg: "passwd:{{ password.stdout }}"

.

> ansible-playbook get-passwd-01.yml | grep msg
    "msg": "passwd: T4gpJtZ69R5cZD9zQh"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.