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/2251fbc9-7d99-4f6c-b4b1-818973816016%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to