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
Jeff Geerling
96051f08f4
Merge pull request #160 from jivanpal/powertools-for-centos-8.2
...
Add conditional to handle old name of PowerTools repo for CentOS 8.2.2004 and earlier
2021-10-25 10:03:58 -05:00
Jivan Pal
6647174286
Add conditional to handle old name of PowerTools repo for CentOS 8.2.2004 and earlier
2021-09-18 01:40:09 +01:00
Jivan Pal
3f8533436b
Ensure snapd is started immediately
2021-09-17 21:44:35 +01:00
Jeff Geerling
d1d517c5a4
Make sure bugs aren't automatically closed.
2021-08-23 08:52:55 -05:00
Jeff Geerling
7ad49929dd
PR #80 touch-up for cosmetic purposes.
4.1.0
2021-05-28 14:49:49 -05:00
Jeff Geerling
6bb2ed6436
Merge pull request #80 from wvh-github/feature/create_pre_and_post_hook
...
create pre and post hooks
2021-05-28 14:47:32 -05:00
Jeff Geerling
515e8af98b
Update tasks/create-cert-standalone.yml
2021-05-28 14:39:45 -05:00
Jeff Geerling
b17976752c
Update tasks/create-cert-standalone.yml
2021-05-28 14:39:41 -05:00
Sebastián Estrella
02e1e4e148
[ #151 ] Skip "Enable classic snap support" on Debian
2021-04-28 22:05:31 -05:00
Jeff Geerling
fdba1c4352
Merge pull request #142 from geerlingguy/134-snap-install-method
...
Issue #134 : Snap install method.
4.0.0
2021-03-31 11:47:24 -05:00
Jeff Geerling
3c05ff5029
Use bools I guess.
2021-03-31 11:39:22 -05:00
Jeff Geerling
25a661157e
Allow failure on snap-based install since containerization makes that hard to test.
2021-03-31 11:25:12 -05:00
Jeff Geerling
e93e175a7e
Remove ansible-lint from roles.
2021-03-15 09:26:56 -05:00
Jeff Geerling
e10cfdaedb
Make ansible-lint work again.
2021-02-22 16:12:59 -06:00
Jeff Geerling
e34a21f0eb
Set certbot_script variable for snap-based install.
2021-02-21 09:03:18 -06:00
Jeff Geerling
4f22d025cd
Slight tweak, but it still won't work.
2021-01-19 12:07:46 -06:00
Jeff Geerling
ea88bfa03c
Attempt to get snap based install working correctly.
2021-01-19 11:56:58 -06:00
Jeff Geerling
56ba6ad847
Fix syntax error with file module usage.
2021-01-19 11:02:58 -06:00
Jeff Geerling
0ba7078e8c
Issue #134 : Snap install method.
2021-01-19 10:54:42 -06:00
Jeff Geerling
b96acd79ec
Fix a deprecation warning in the Molecule playbook.
2020-12-27 00:17:01 -06:00
Jeff Geerling
9090d7d431
Merge pull request #127 from wzzrd/patch-1
...
Only enable PowerTools on CentOS
2020-12-27 00:05:59 -06:00
Jeff Geerling
7c66dc3eed
Merge pull request #137 from GuillaumeRemyCSI/patch-1
...
Fixed issue with PowerTools DNF module
2020-12-27 00:05:52 -06:00
GuillaumeRemyCSI
51ff0b14a3
Fixed issue with PowerTools DNF module
...
PowerTools has been renamed to powertools on CentOS 8
2020-12-18 15:38:56 +01:00
Jeff Geerling
8006878db7
Drop support for RedHat / CentOS 6.
2020-12-08 17:03:31 -06:00
Jeff Geerling
eb5f51182b
Drop CentOS 6 testing.
2020-12-08 16:55:18 -06:00
Jeff Geerling
fe1716eced
Fix GitHub Actions workflow syntax for CI.
2020-11-05 09:26:10 -06:00
Jeff Geerling
3624a21c45
Dump Travis CI and move to GitHub Actions.
2020-11-05 09:22:58 -06:00
Jeff Geerling
2bca213421
Switch to travis-ci.com.
2020-10-26 20:08:42 -05:00
Jeff Geerling
f5bbfd2ec7
Make sure docker driver is installed with molecule.
2020-10-15 17:02:21 -05:00
Maxim Burgerhout
a9609e1da6
Only enable PowerTools on CentOS
...
The PowerTools repo exists only on CentOS, but the current selector ansible_os_family == 'RedHat' also evaluates to true on Fedora and RHEL, making this role fail.
This patch switches the when statement to only evaluate to true if really running on CentOS, which I think was the intention
2020-09-30 08:52:43 +02:00