mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #2939 from mmoya/lookup-crypted-passwds
Add support for crypted passwords to password lookup
This commit is contained in:
@@ -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)
|
||||
``````````````````````````````````````````````````
|
||||
|
||||
|
||||
Reference in New Issue
Block a user