Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
870cdd16
Verified
Commit
870cdd16
authored
4 years ago
by
ynerant
Browse files
Options
Downloads
Patches
Plain Diff
[certbot] No change when certificates are already renewed
Signed-off-by:
Yohann D'ANELLO
<
ynerant@crans.org
>
parent
6054b7a5
No related branches found
Branches containing commit
No related tags found
1 merge request
!237
Certbot
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/certbot/tasks/main.yml
+2
-0
2 additions, 0 deletions
roles/certbot/tasks/main.yml
with
2 additions
and
0 deletions
roles/certbot/tasks/main.yml
+
2
−
0
View file @
870cdd16
...
...
@@ -45,6 +45,8 @@
-
name
:
Run certbot
command
:
certbot --non-interactive --config /etc/letsencrypt/conf.d/{{ item.certname }}.ini certonly
register
:
certbot_output
changed_when
:
not "Certificate not yet due for renewal" in certbot_output.stdout
loop
:
"
{{
certbot
}}"
-
name
:
Clean old files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment