flajann2 / ansible-powerplay

Run your Ansible playbooks in parallel with Powerplay!
MIT License
11 stars 3 forks source link

--ask-pass does not work #2

Open gcaracuel opened 8 years ago

gcaracuel commented 8 years ago

Added Ansible '-k' param when selecting the playbook (tricky and ugly solution) but this does not work for :async groups.

If you add that param to 2 differentt book in the same :asyn group powerplay will execute both at the same time so 2 different prompt asking the asking the password will be waiting while only one of them could be replied.

Any ideas how to manage with password hosts? No keybased login allowed in some of my VMs ;)

flajann2 commented 8 years ago

Thanks. I think I will have to add a feature to allow for cleanly handling --ask-pass. In the meantime, you might consider defining an environment variable with the password(s) and accessing them in your playbooks.

gcaracuel commented 8 years ago

I'll be waiting for that feature, and will try to work in that of course. Thanks!