Forked from boznius/gist:ebd49607df11b8054c497ab94f30537a
Created
June 22, 2018 07:55
-
-
Save schelkanov/64ba3cd1253896be6d914f3da2a63b14 to your computer and use it in GitHub Desktop.
encrypt all files in a directory with ansible-vault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in $(find . -type f); do ansible-vault encrypt $i --vault-password-file ~/.vault && echo $i encrypted ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment