Skip to content

Commit fd927b0

Browse files
committed
document vault_from_gpg_agent.py script
1 parent 0817b5a commit fd927b0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ This software has the same license as Ansible, GPLv3.
5151
This can be useful when, for example, you're interpolating variables
5252
into the `regexp` argument of the built-in `lineinfile` module.
5353

54+
* `vault_from_gpg_agent.py` script that allows ansible's vault to read
55+
its password via gpg-agent. See this [mailing_list_post] for the
56+
rationale. The script can be used like this:
57+
58+
ansible-playbook setup.yml --vault-password-file vault_from_gpg_agent.py
59+
60+
The script must be executable (chmod +x).
61+
5462
[augtool_mod]: http://dsedivec.github.io/ansible-plugins/#augtool
5563
[augtool]: http://augeas.net/tour.html
5664
[load_gpg_vars_mod]: http://dsedivec.github.io/ansible-plugins/#load_gpg_vars

0 commit comments

Comments
 (0)