Is there a module that can encrypt a file with vault in tasks?
23 views
Skip to first unread message
Glen Huang
unread,
Oct 16, 2022, 11:18:45 PM10/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
I use playbook to locally generate a private key, and after that I'd like to encrypt it with vault so another playbook can use it to copy to a remote hosts.
Is there a module that can encrypt a file with vault? Or should I simply use the command module to run "ansible-vault encrypt"?
Brian Coca
unread,
Oct 17, 2022, 1:42:35 PM10/17/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message