summaryrefslogtreecommitdiff
path: root/roles/certificate/tasks
AgeCommit message (Collapse)Author
2024-06-30Cleanup quotes usage in YAML filesDmitry Ilvokhin
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
2024-04-14Make certificate updates work for nginxDmitry Ilvokhin
Currently, we obtain certificates from Let's Encrypt with standalone mode, so when we do renew, certbot tries to run it is own webserver on port 80, but this port is already in use by nginx. Stop nginx, before renewal. This is quite hacky, but should work. Proper solution is to split certificate role by standalone and non-standalone versions.
2024-02-10Make certbot a dependencies of certificateDmitry Ilvokhin
2024-01-06Fix `ansible.builtin.include_role` indentsDmitry Ilvokhin
2024-01-06Make certificate a roleDmitry Ilvokhin