were you able to use Ansible to pull passwords automatically from CyberArk?
On Wednesday, 9 July 2014 14:31:44 UTC-5, Michael DeHaan wrote:
>
> "Can Ansible reference two inventories? "
>
> If both inventories are in the same directory, "-i directory_name" will
> load them both.
>
> Any number o
"Can Ansible reference two inventories? "
If both inventories are in the same directory, "-i directory_name" will
load them both.
Any number of them can be executable or static (INI based) and group_vars/
and host_vars/ variables in that directory will also be loaded for each.
On Tue, Jul 8,
>
> You can use "set_fact" to do this.
>
Thanks that worked out fine.
It sounds like you should look into an external inventory script.
>
What I working with is CyberArk. It's primarily a secure password
management system that does things like automatic rollover and hidden
login. So I'm looki
You can use "set_fact" to do this.
There is a slight question of whether this actually works, as I haven't
tested it :)
Really, it sounds like you should look into an external inventory script
for me, but if you have a CLI interface, it will hit that CLI lots of times
and potentially overwhelm th
I'm using a database system for passwords. It has a CLI for pulling data.
For each server I would like to do something like
- hosts: all
gather_facts: no
tasks:
local_action: ansible_ssh_pass=`db_cli cli_params`
I realize this code is complete invalid. Can I do this in a task, a
progra