mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-12-22 13:51:51 +01:00
add ansible-encrypt function
This commit is contained in:
parent
3f93f0b3e9
commit
defde7717a
1 changed files with 4 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
||||||
|
function ansible-encrypt-to-clipboard
|
||||||
|
read -s val
|
||||||
|
ansible-vault encrypt_string -- "$val" | grep -v Encryption | pbcopy
|
||||||
|
end
|
Loading…
Reference in a new issue