Great, I had forgotten about vault, thanks again.
On Monday, December 15, 2014 8:24:48 AM UTC-5, iprok wrote: > > To pass it - I think is would be tricky. But you can store it in encrypted > form using ansible-vault. > > понедельник, 15 декабря 2014 г., 16:22:23 UTC+3 пользователь John Goodall > написал: >> >> Ah, I see - thanks. That wasnt clear to me from the documentation. Is >> there any way to pass a password not in clear text? >> >> Thanks. >> -john >> >> >> On Sunday, December 14, 2014 2:18:28 PM UTC-5, iprok wrote: >>> >>> pass clear text password using password= parameter. For example >>> htpasswd: path=/tmp/.htpasswd name=demo password=demo >>> >>> And resulting password string can be different when using same password >>> because of using salt. >>> >>> суббота, 13 декабря 2014 г., 4:34:42 UTC+3 пользователь John Goodall >>> написал: >>>> >>>> I run the following on the command line: >>>> >>>> $ htpasswd -nb demo demo >>>> demo:$apr1$nB6zClk/$SXB.D6Tr81L2Q6zxLulEg. >>>> >>>> Then in my playbook I have the following: >>>> >>>> htpasswd: path=/tmp/.htpasswd name=demo >>>> password=$apr1$nB6zClk/$SXB.D6Tr81L2Q6zxLulEg. >>>> >>>> And the resulting file (/tmp/.htpasswd), the entry for demo is >>>> different than what was in the playbook, and authentication through nginx >>>> fails. My understanding was that the apr_md5_crypt was the default for the >>>> htpasswd module. >>>> >>>> Any ideas what I am doing wrong? >>>> >>>> thanks. >>>> >>> -- 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/2d90cc66-d2de-49f9-a9d1-8e2a7e2276bc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
