Any help or pointers is appreciated.

On Thursday, February 15, 2018 at 7:04:51 PM UTC-5, Narahari 'n' Savitha 
wrote:
>
> 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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/9f7afd98-dbbf-40b5-a98d-7993141da32d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to