162 Commits

Author SHA1 Message Date
Jeff Geerling
d1cbcde4de Fixup CI versions. Drop all older RHEL releases which are broken. 2024-07-16 14:21:11 -05: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
Simon Spannagel
123facdbab Ensure deploy hook directory exists before using 2021-11-22 07:25:31 +01:00
Simon Spannagel
e1013946c5 Webroot: allow to set default webroot path, overwritten by per-cert path 2021-11-22 07:25:31 +01:00
Simon Spannagel
b37af73500 Move webroot definition further down 2021-11-22 07:25:31 +01:00
Simon Spannagel
23447ec217 Fix issue in certificate creation command 2021-11-22 07:25:31 +01:00
Simon Spannagel
50d8921ec2 Create webroot directory if it doesn't exist 2021-11-22 07:25:31 +01:00
simonspa
2e13cb13cf Update default deploy hook
Co-Authored-By: Kieren Evans <kierenevans@users.noreply.github.com>
2021-11-22 07:25:31 +01:00
Simon Spannagel
e669ab0ac4 Replace shell with command module 2021-11-22 07:25:31 +01:00
Simon Spannagel
ca46eab49f Fix linting issues 2021-11-22 07:25:29 +01:00
Simon Spannagel
5f476f829c Add default and document certbot_deployhook 2021-11-22 07:24:33 +01:00
Simon Spannagel
34949a63d9 Document webroot functionality 2021-11-22 07:24:33 +01:00
Simon Spannagel
061509319f Allow specification of different webroots per certificate 2021-11-22 07:24:31 +01:00
Ryan Faircloth
c7e5eec8cc Update create-cert-webroot.yml
Removed debug logging of var as it could have protected information
2021-11-22 07:22:25 +01:00
Ryan Faircloth
23f593aaaf Fixes #39 adding new script for webroot
Fixes #41 support deployhook (webroot only)
Fixes #41 support for test CA
2021-11-22 07:22:15 +01:00
Jeff Geerling
027af9b3b3
Merge pull request #152 from stackbuilders/fix_install_with_snap_debian
[#151] Skip "Enable classic snap support" on Debian
4.2.0
2021-10-25 10:20:54 -05:00
Jeff Geerling
7317dbcabe Fix lint warnings. 2021-10-25 10:19:58 -05:00
Jeff Geerling
5cfcc2d316 Disable source install test on CentOS 7 for now. 2021-10-25 10:04:52 -05:00
Jeff Geerling
aaf3dbd40a
Merge pull request #159 from jivanpal/snapd-start
Ensure snapd is started immediately
2021-10-25 10:04:22 -05:00