179 Commits

Author SHA1 Message Date
Florian R. Hölzlwimmer
b3ae28fb77 change certbot_expand default back to false 2025-01-29 15:45:25 +01:00
Florian R. Hölzlwimmer
943abd882d update to debian 11 2025-01-29 14:37:22 +01:00
Florian R. Hölzlwimmer
2fde934223 explicitly determine whether the domain list has changed 2025-01-29 14:22:03 +01:00
Florian R. Hölzlwimmer
851d2b9855 Fix escaping 2025-01-29 13:24:03 +01:00
Florian R. Hölzlwimmer
2d3cf2ad13 fix trailing space 2025-01-29 13:24:03 +01:00
Florian R. Hölzlwimmer
999372cc7e Update tests to include certificate name 2025-01-29 13:24:03 +01:00
Florian R. Hölzlwimmer
811fa11044 add --cert-name and --deploy-hook options 2025-01-29 13:24:03 +01:00
Jeff Geerling
e5bfeaf936 Attempt to get molecule CI tests running again. 2025-01-28 22:23:55 -06:00
Jeff Geerling
9045ec5a59
Merge pull request #208 from theS1LV3R/master
Allow for certificates to be expanded to include new domains
5.3.0
2025-01-28 22:10:40 -06:00
Jeff Geerling
98ea3238ed
Merge pull request #217 from rlenferink/fix-undefined-variable
[BUGFIX] Initialize 'certbot_create_extra_args' variable
5.2.1
2024-12-22 13:18:42 -06:00
fliespl
49e18182a7
certbot expand in command 2024-09-20 22:46:37 +02:00
fliespl
48941fe2a0
handle certbot expand in webroot 2024-09-20 22:46:05 +02:00
fliespl
6230e82ba9
handle expand in standalone 2024-09-20 22:45:47 +02:00
fliespl
0b414a9d74
expand variable 2024-09-20 22:44:16 +02:00
Jeff Geerling
78f4cb5ad5 Use CRB not powertools on Alma and Rocky. 5.2.0 2024-07-30 23:24:23 -05:00
Jeff Geerling
d1cbcde4de Fixup CI versions. Drop all older RHEL releases which are broken. 2024-07-16 14:21:11 -05:00
Roy Lenferink
03f4cc3a99 Initialize 'certbot_create_extra_args' variable
This was introduced in 5a23e85f1cebfbc3999d896f25b99a8c2776f808 but no default was added, resulting in a 'undefined variable' error
2024-07-14 11:08:50 +02:00
theS1LV3R
63638f4471
Allow for certificates to be expanded to include new domains 2024-02-09 16:29:19 +01:00
Jeff Geerling
4be771f12a A wee bit of modernization. 2024-01-24 22:00:32 -06:00
Jeff Geerling
de52a1f4c8 Make local dev with molecule a little easier. 2024-01-24 21:48:33 -06:00
Jeff Geerling
cb3b03f435 PR #109 Follow-up: Document new variable inside other variable. 5.1.1 2024-01-04 19:38:53 -06:00
Jeff Geerling
5a23e85f1c
Merge pull request #109 from gagath/rsa-key-size
introduce certbot_create_extra_args (for custom RSA key size)
2024-01-04 19:35:27 -06:00
Jeff Geerling
08543f45b2 Stale bot is now Stale GitHub Action. 2023-07-10 17:47:30 -05:00
Jeff Geerling
84642924df Remove official support for RHEL. Rocky/Alma/Stream support is best-effort. 2023-06-23 10:56:00 -05:00
Jeff Geerling
cfd9655ed0
Merge pull request #192 from fapdash/patch-1
Run hooks only for standalone mode
5.1.0
2023-06-17 22:22:43 -05:00
Jeff Geerling
47203f3b92
Merge pull request #197 from markstos/no-self-upgrade
remove deprecated --no-self-upgrade flag
2023-06-17 22:21:03 -05:00
Jeff Geerling
a3b34ef499
Merge pull request #196 from Kaezon/fix-lint
fixed lint
2023-06-17 22:20:04 -05:00
Mark Stosberg
199f940604 remove deprecated --no-self-upgrade flag
Including it will generate warnings
2023-05-19 17:39:05 -04:00
Brett Costabile
1b04270982 fixed lint 2023-05-09 10:14:27 -04:00
Jeff Geerling
a056da763e Fix Molecule CI workflow since docker plugin has moved. 2023-04-20 17:27:06 -05:00
FAP
2deba31679
Check for both conditions (squash me) 2023-02-20 12:26:44 +01:00
FAP
d30ddd946a
Run hooks only for standalone mode
If the `certbot_create_method` is set to `webroot` the `stop_services` and `start_services` hook shouldn't be run.
2023-02-01 15:13:09 +01:00
Jeff Geerling
3d55be0a54 Fix Molecule CI workflow for Ubuntu 22.04 GitHub Actions. 2022-12-06 18:23:34 -06:00
Jeff Geerling
3f133ad7ab Remove deprecated warn arg from command and shell module invocations. 5.0.2 2022-11-26 22:51:08 -06:00
Jeff Geerling
c6297ddebb Add role_name_check skipping to all molecule test suites. 2022-06-01 22:20:31 -05:00
Romain Porte
3fcd4e0258 introduce certbot_create_extra_args 2022-02-20 07:05:41 +01:00
Jeff Geerling
eb4647ed9c
Merge pull request #166 from tobiashuste/fix-snap-initial-dry-run
Fix snap symlink task failing in initial dry-run
5.0.1
2022-01-19 08:48:29 -06:00
Jeff Geerling
31beafb338 Update release workflow for more consistency. 2021-12-27 11:34:47 -06:00
Tobias Huste
1fc3a76d34 Fix snap symlink task failing in initial dry-run
Due to the certbot package not being really installed on the initial
dry-run the symlink generation fails. The corresponding will be ignored
in check mode.
2021-11-24 11:11:03 +01:00
Jeff Geerling
dd1f8bd22c Tabs to spaces in README. 5.0.0 2021-11-22 10:58:43 -06:00
Jeff Geerling
de4cb90984
Merge pull request #97 from simonspa/webroot
Allow Webroot Certificate Creation
2021-11-22 10:57:37 -06:00
Simon Spannagel
955ec8b17e Update documentation 2021-11-22 07:35:38 +01:00
Simon Spannagel
a9a3ef77a3 Remove old deploy hook method superseded by pre-hook and post-hook methods 2021-11-22 07:27:48 +01:00
Simon Spannagel
e35a5d0fb9 Remove excess whitespace 2021-11-22 07:25:31 +01:00
Simon Spannagel
854a36e048 Rever changes made by linter to github workflow yaml 2021-11-22 07:25:31 +01:00
simonspa
2cad2addcd Update defaults/main.yml
Co-authored-by: Jeff Geerling <geerlingguy@mac.com>
2021-11-22 07:25:31 +01:00
simonspa
52a96f9bde Check for systemd list-unit-files before restarting services
Co-authored-by: Karl M. Davis <karl@justdavis.com>
2021-11-22 07:25:31 +01:00
Simon Spannagel
7a7c1f8b06 Fix linter suggestions 2021-11-22 07:25:31 +01:00
Romain Porte
40c4c1b433 webroot: install hook before creating certificates
The command that will create the certificates need the hook script
ansible.sh to exist before it is run, elsewise an error will occur in
case of first run on a new host.

(cherry picked from commit 2346cd52a262bf2fa89419f29abba0e8ea95cdb7)
2021-11-22 07:25:31 +01:00
Romain Porte
bd58f8e72c optimize renewal-hook creation: run it only once and not per domain 2021-11-22 07:25:31 +01:00