add ansible-encrypt function

This commit is contained in:
Gabriel Augendre 2024-12-08 18:36:17 +01:00
parent 3f93f0b3e9
commit defde7717a

View file

@ -0,0 +1,4 @@
function ansible-encrypt-to-clipboard
read -s val
ansible-vault encrypt_string -- "$val" | grep -v Encryption | pbcopy
end