Friends:

I  am trying to understand how to do something.  I am not even sure it is 
possible.  Try to help me please.

Thank you in advance for your help.


End User types in user id and password on jenkins screen.

I then want to encrypt that password with vault and write that to a file 
say /tmp/coolCucumber.yml (coolCucumbers encrypted password)

This way I can use that encrypted file at other places I need it.

I later on want to use the ansible adhoc command like this

ansible all -i "preditserver.ntd.bip.com" -m shell -a "ls -ltr" 
--extra-vars="ansible_password=${coolCucumberPassword}" 
--vault-password-file=/tmp/vault

Will this work ?

-N

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/92619740-9baa-4984-83fe-7f2cb8eb7c29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to