Simon Spannagel
a9a3ef77a3
Remove old deploy hook method superseded by pre-hook and post-hook methods
3 years ago
Simon Spannagel
7a7c1f8b06
Fix linter suggestions
3 years ago
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)
3 years ago
Romain Porte
bd58f8e72c
optimize renewal-hook creation: run it only once and not per domain
3 years ago
Simon Spannagel
123facdbab
Ensure deploy hook directory exists before using
3 years ago
Simon Spannagel
e1013946c5
Webroot: allow to set default webroot path, overwritten by per-cert path
3 years ago
Simon Spannagel
50d8921ec2
Create webroot directory if it doesn't exist
3 years ago
Simon Spannagel
e669ab0ac4
Replace shell with command module
3 years ago
Simon Spannagel
ca46eab49f
Fix linting issues
3 years ago
Ryan Faircloth
c7e5eec8cc
Update create-cert-webroot.yml
...
Removed debug logging of var as it could have protected information
3 years ago
Ryan Faircloth
23f593aaaf
Fixes #39 adding new script for webroot
...
Fixes #41 support deployhook (webroot only)
Fixes #41 support for test CA
3 years ago
Jeff Geerling
7317dbcabe
Fix lint warnings.
3 years ago
Jivan Pal
6647174286
Add conditional to handle old name of PowerTools repo for CentOS 8.2.2004 and earlier
3 years ago
Jivan Pal
3f8533436b
Ensure snapd is started immediately
3 years ago
Jeff Geerling
7ad49929dd
PR #80 touch-up for cosmetic purposes.
4 years ago
Jeff Geerling
515e8af98b
Update tasks/create-cert-standalone.yml
4 years ago
Jeff Geerling
b17976752c
Update tasks/create-cert-standalone.yml
4 years ago
Sebastián Estrella
02e1e4e148
[ #151 ] Skip "Enable classic snap support" on Debian
4 years ago
Jeff Geerling
e34a21f0eb
Set certbot_script variable for snap-based install.
4 years ago
Jeff Geerling
4f22d025cd
Slight tweak, but it still won't work.
4 years ago
Jeff Geerling
ea88bfa03c
Attempt to get snap based install working correctly.
4 years ago
Jeff Geerling
56ba6ad847
Fix syntax error with file module usage.
4 years ago
Jeff Geerling
0ba7078e8c
Issue #134 : Snap install method.
4 years ago
GuillaumeRemyCSI
51ff0b14a3
Fixed issue with PowerTools DNF module
...
PowerTools has been renamed to powertools on CentOS 8
4 years ago
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
4 years ago
Jeff Geerling
09c8986636
Issue #107 : PowerTools required to install via package on CentOS 8.
5 years ago
Wout van Heeswijk
8164566c4f
create pre and post hooks
...
* Move 'stop' services to pre-hook and post-hook. This way they will also be stopped and started when renewing.
- remove service stop/start tasks
- add pre-hook/post-hook templates
- add pre-hook/pos-hook template tasks
- create missing directories at first run
- run pre and post hook during first manual run
6 years ago
Jeff Geerling
00dc226101
Fixes E305 linting error: use shell only when required.
6 years ago
Jeff Geerling
5da6dd18cd
Fix Ansible lint issues.
6 years ago
Michael Porter
ce4dacf632
Supports check of wildcard certs
...
Adds support to check for wildcard certs to not re-make them on subsequent runs
6 years ago
Jeff Geerling
d3f98e4258
Fixes #12 : Document how to generate certs automatically using certbot --standalone.
7 years ago
Jeff Geerling
5f7c9e046c
Issue #12 : Fix standalone cert generation, add full build-test-teardown playbook.
7 years ago
Jeff Geerling
7651f0ac0b
Issue #12 : Add basic standalone certbot cert generation.
7 years ago
Jeff Geerling
574c0843c8
Fixes #37 : Make renew command configurable.
7 years ago
exploide
1ca3e00b46
include distribution specific vars from files
8 years ago
Oskar Schöldström
e82a68e331
Support Ubuntu 16.04 out of the box
8 years ago
exploide
afa993333f
renamed certbot_from_git variable to certbot_install_from_source and fixed some wording
8 years ago
exploide
f3a260e94e
added possibility to install certbot from package management
...
- introduces a variable certbot_from_git
- adds install from package tasks
- makes a variable called certbot_script available (to handle certbot vs certbot-auto naming)
- fixes #18
8 years ago
exploide
35ceee9f1b
restructured tasks such that subtask files are included
...
this is a preparation for installing certbot from package management
additionally, it might be useful when further tasks are added, e.g. for initial certificate retrieval
8 years ago
Kaurin
806d612fab
Adding 'force: yes' to the git section
...
to prevent 'local changes in working tree'
messages
8 years ago
Jeff Geerling
d76e3915fe
Fixes #13 : Add certbot-auto renew cron job.
8 years ago
Jeff Geerling
65071dd992
Fixes #5 : Ensure certbot-auto is executable.
8 years ago
Jeff Geerling
444064222b
Fixes #4 : Update to use Certbot. Rename from letsencrypt to certbot.
8 years ago
Jeff Geerling
8b6c745801
Initial commit.
9 years ago