You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ansible now supports (and has for a while) encrypting only parts of a file, i.e. a YAML value into a vault-encrypted string: See encrypt_string.
Support for this would be great. I tried implementing it myself, but only half succeeded, before giving up, because I couldn't convince sublime-text to do my bidding.
Ideally one would highlight the value (even only part of the value should work, since you can work out the innermost common ancestor of the start and end position in yaml) and then hit encrypt and it would be replaced inline.
If code for the yaml-ancestry foo is desired I can dig up my code from a few months ago.
The text was updated successfully, but these errors were encountered:
Ansible now supports (and has for a while) encrypting only parts of a file, i.e. a YAML value into a vault-encrypted string: See encrypt_string.
Support for this would be great. I tried implementing it myself, but only half succeeded, before giving up, because I couldn't convince sublime-text to do my bidding.
Ideally one would highlight the value (even only part of the value should work, since you can work out the innermost common ancestor of the start and end position in yaml) and then hit encrypt and it would be replaced inline.
If code for the yaml-ancestry foo is desired I can dig up my code from a few months ago.
The text was updated successfully, but these errors were encountered: