Commit graph

12 commits

Author SHA1 Message Date
Jérémy Lecour 65bc2c657d certbot: commit hook must be executed at the end
All checks were successful
continuous-integration/drone/push Build is passing
2020-02-25 10:46:21 +01:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Jérémy Lecour ca4c4adb59 certbot: commit all changes in /etc/.git
Some checks failed
continuous-integration/drone/push Build is failing
On some servers, certificates can be copied directly in final 
directories over SSH.
2020-02-11 12:06:40 +01:00
Jérémy Lecour 6801f4e00e Add names to many blocks 2019-12-31 16:56:03 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Ludovic Poujol 0e58f34e18
certbot: Properly evaluate when apache is installed
Some checks failed
continuous-integration/drone/push Build is failing
Checking the existence of /etc/apache2 is not enough as a condition to
validate the presence of apache.

Indeed, some packages (including certbot!!!), put some files in
/etc/apache2/conf-available even if apache isn't installed.

In those cases, the check is not correct, and we'll enter in the apache
block, and fail when we try to enable the configuration.

With this commit, we now validate the presence apache with the presence
of /usr/sbin/apachectl
2019-11-26 11:58:52 +01:00
Jérémy Lecour cd9e17e8f6 certbot: reload the correct daemon
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-25 18:21:23 +02:00
Jérémy Lecour 68e6d6cb23 improve hooks maintainability 2019-09-27 14:03:39 +02:00
Jérémy Lecour 44b2480e03 certbot: improve hooks 2019-09-27 10:15:33 +02:00
Jérémy Lecour 3521d4a765 certbot: verify generated combined certificate file for HAProxy 2019-09-27 09:47:51 +02:00
Jérémy Lecour 86108999c1 certbot: check syntax in hooks just before reload 2019-09-27 09:31:22 +02:00
Jérémy Lecour 394e28b815 WIP: new certbot role 2019-09-27 00:21:29 +02:00