Closed jadzdotcom closed 2 years ago
Hi, thanks for your feedback!
Can you please give me some additional info. Do you expect a new line in encrypted version of this vault.yml?
I checked the result of the official ansible-vault encrypt command and they do not include new line at the end of file too. I think this is because ecrypted version of this file is not really a yaml file after encryption regardless of .yaml extension
One of our developers reported that they were getting
yamllint
new-line-at-end-of-file
validation errorshttps://yamllint.readthedocs.io/en/stable/rules.html?highlight=new-line-at-end-of-file#module-yamllint.rules.new_line_at_end_of_file
Our temporary solution was to stop linting the
vault.yml
files by updating the project.yamllint
configuration with the following entry:However I figured I would report the issue here in case the missing
\n
was an oversight.