Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Lets Encrypt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
Lets Encrypt
Commits
f0170d5b
Commit
f0170d5b
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Linting
parent
f1a98319
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/renew.yml
+2
-2
2 additions, 2 deletions
tasks/renew.yml
with
2 additions
and
2 deletions
tasks/renew.yml
+
2
−
2
View file @
f0170d5b
...
...
@@ -23,14 +23,14 @@
shell
:
certbot renew --non-interactive --webroot-path /var/www/html --webroot
ignore_errors
:
yes
register
:
renew_result
changed_when
:
"
'No
renewals
were
attempted.'
not
in
renew_result.stdout
"
changed_when
:
yes and
'No renewals were attempted.' not in renew_result.stdout
when
:
groups.proxyserver is not defined or inventory_hostname not in groups.proxyserver
-
name
:
Renew Existing Certs via HaProxy
shell
:
certbot renew --non-interactive --http-01-port {{ port }} --preferred-challenges http-01
ignore_errors
:
yes
register
:
renew_result
changed_when
:
"
'No
renewals
were
attempted.'
not
in
renew_result.stdout
"
changed_when
:
yes and
'No renewals were attempted.' not in renew_result.stdout
when
:
groups.proxyserver is defined and inventory_hostname in groups.proxyserver
-
name
:
Close Port
...
...
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