mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-21 03:23:59 -07:00
Document vault and make some cross-references in places where people should read about vault.
This commit is contained in:
parent
5cae9807d9
commit
1a6db5449a
5 changed files with 20 additions and 6 deletions
|
@ -29,9 +29,16 @@ Contents can be read off the filesystem as follows::
|
|||
The Password Lookup
|
||||
```````````````````
|
||||
|
||||
``password`` generates a random plaintext password and store it in
|
||||
a file at a given filepath. Support for crypted save modes (as with vars_prompt) is pending. If the
|
||||
file exists previously, it will retrieve its contents, behaving just like with_file. Usage of variables like "{{ inventory_hostname }}" in the filepath can be used to set
|
||||
.. note::
|
||||
|
||||
A great alternative to the password lookup plugin, if you don't need to generate random passwords on a per-host basis, would be to use :doc:`playbooks_vault`. Read the documentation there and consider using it first, it will be more desirable for most applications.
|
||||
|
||||
``password`` generates a random plaintext password and stores it in
|
||||
a file at a given filepath.
|
||||
|
||||
(Docs about crypted save modes are pending)
|
||||
|
||||
If the file exists previously, it will retrieve its contents, behaving just like with_file. Usage of variables like "{{ inventory_hostname }}" in the filepath can be used to set
|
||||
up random passwords per host (what simplifies password management in 'host_vars' variables).
|
||||
|
||||
Generated passwords contain a random mix of upper and lowercase ASCII letters, the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue