diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-30 16:35:25 +0100 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2024-06-30 16:39:20 +0100 |
commit | 62adb64fe171ff18ff4417a710b69de256d1fdac (patch) | |
tree | a0e8a69be189a6795b9b2dca5b3e70ee87edcede /TODO.txt | |
parent | 855e4219fd54f66a304e1701be785be8ed1f724d (diff) | |
download | infra-62adb64fe171ff18ff4417a710b69de256d1fdac.tar.gz infra-62adb64fe171ff18ff4417a710b69de256d1fdac.tar.bz2 infra-62adb64fe171ff18ff4417a710b69de256d1fdac.zip |
Cleanup quotes usage in YAML files
Seems quotes in YAML is a mess.
Official guidelines (see explanation here [1]) are following.
1. If you can get away without quotes, do not use them.
2. Use single quotes if you need quotes.
3. Use double quotes if you can't use single quotes for some reason.
Common reason for double quotes in this repository is line breaks for
long lines and control characters (\n, \t) in replacement patterns.
Hope, I didn't break anything.
Tested with following commands, because there are no changes in others.
$ ansible-playbook dotfiles.yml
$ ansible-playbook master.yml
[1]: https://stackoverflow.com/a/69850618/1313516
Diffstat (limited to 'TODO.txt')
-rw-r--r-- | TODO.txt | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1,6 +1,5 @@ TODO -* Fix quotes: use either single quotes or double quotes. * Enable linters: ansible-lint, yamllint. * Enable IPv6 for wireguard. * Setup L2TP/IPsec VPN server. |