March 2019
Intermediate to advanced
412 pages
9h 49m
English
This last example uses a password script. This is useful for designing a system where a password can be stored in a central system for storing credentials and shared with contributors to the playbook tree. Each contributor could have his or her own password to the shared credentials store, where the Vault password would be retrieved from. Our example will be far more straightforward: just a simple output to STDOUT with a password. This file will be saved as password.sh. The file needs to be marked as an executable for Ansible to treat it as such, as shown in the following screenshot:

Try this for yourself and see how it works—you ...
Read now
Unlock full access