Does an ansible-vault module exist?

31 views
Skip to first unread message

Cev Ing

unread,
Jan 26, 2017, 10:40:53 AM1/26/17
to Ansible Project
Does an ansible-vault module exist, which does the same as the shell task:

shell: ansible-vault encrypt {{ users_pw_hash }}

Or even better: does a module exist, which can be used to update some data in encrypted YAML vault files?

Brian Coca

unread,
Jan 26, 2017, 10:57:46 AM1/26/17
to ansible...@googlegroups.com
no module like that currently exists, it would probably not work as modules don't have access to the passwords passed in the command line.
----------
Brian Coca

Cev Ing

unread,
Jan 26, 2017, 11:07:30 AM1/26/17
to Ansible Project


Am Donnerstag, 26. Januar 2017 16:57:46 UTC+1 schrieb Brian Coca:
no module like that currently exists, it would probably not work as modules don't have access to the passwords passed in the command line.


You can specify vault_password_file in ansible.cfg.
 
Reply all
Reply to author
Forward
0 new messages