From 62adb64fe171ff18ff4417a710b69de256d1fdac Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sun, 30 Jun 2024 16:35:25 +0100 Subject: 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 --- roles/certificate/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/certificate') diff --git a/roles/certificate/tasks/main.yml b/roles/certificate/tasks/main.yml index a736e6b..1456fe2 100644 --- a/roles/certificate/tasks/main.yml +++ b/roles/certificate/tasks/main.yml @@ -12,7 +12,7 @@ --rsa-key-size 4096 \ -d {{ domains | join(' -d ') }} args: - creates: '/etc/letsencrypt/live/{{ domains | first }}/fullchain.pem' + creates: /etc/letsencrypt/live/{{ domains | first }}/fullchain.pem # TODO: rewrite this role or make it more generic. # -- cgit v1.2.3-70-g09d2