Merge pull request #2939 from mmoya/lookup-crypted-passwds

Add support for crypted passwords to password lookup
This commit is contained in:
Michael DeHaan
2013-05-18 13:17:41 -07:00
2 changed files with 72 additions and 15 deletions

View File

@@ -537,6 +537,15 @@ This length can be changed by passing an extra parameter::
target=/tmp/{{ client }}_{{ tier }}_{{ role }}_backup.sql
with_password: credentials/{{ client }}/{{ tier }}/{{ role }}/mysqlpassword length=15
(...)
# create an user with a given password
- user: name=guestuser
state=present
uid=5000
password={{ item }}
with_password: credentials/{{ hostname }}/userpassword encrypt=sha256_crypt
Setting the Environment (and Working With Proxies)
``````````````````````````````````````````````````