This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
lilik_playbook
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix certbot role
- handle errors when starting/stopping webserver - fix typo
python3
Edoardo Putti
7 years ago
parent
cc9e7d8193
commit
f0cf5d9be9
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
roles/certbot/tasks/main.yaml
+ 3
- 1
roles/certbot/tasks/main.yaml
View File
@ -14,6 +14,7 @@
service:
name
:
"{{ webserver_name }}"
state
:
stopped
ignore_errors
:
yes
-
name
:
request certificate
command
:
>
@ -33,6 +34,7 @@
service:
name
:
"{{ webserver_name }}"
state
:
started
ignore_errors
:
yes
-
name
:
Add systemd timer for cert renewal
template:
@ -49,4 +51,4 @@
name
:
certbot.timer
state
:
started
enabled
:
true
daemon_re
a
load
:
true
daemon_reload
:
true
Write
Preview
Loading…
Cancel
Save