Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save schelkanov/64ba3cd1253896be6d914f3da2a63b14 to your computer and use it in GitHub Desktop.

Select an option

Save schelkanov/64ba3cd1253896be6d914f3da2a63b14 to your computer and use it in GitHub Desktop.
encrypt all files in a directory with ansible-vault
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