Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
haproxy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
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
FSI Ansible
haproxy
Commits
e7668df5
Verified
Commit
e7668df5
authored
5 years ago
by
David Mehren
Browse files
Options
Downloads
Patches
Plain Diff
Use correct path when checking if the certificate already exists.
parent
3bc42168
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/tls.yml
+5
-5
5 additions, 5 deletions
tasks/tls.yml
with
5 additions
and
5 deletions
tasks/tls.yml
+
5
−
5
View file @
e7668df5
---
-
name
:
"
<{{item
|
regex_replace('/var/lib/acme/live/(.*)/haproxy',
'
\\
1')
}}>
Gather
Cert
stats"
-
name
:
"
<{{
item
}}>
Gather
Cert
stats"
stat
:
path
:
"
{{
item
}}"
path
:
"
/var/lib/acme/live/
{{
item
}}
/haproxy
"
register
:
cert
-
name
:
"
<{{item
|
regex_replace('/var/lib/acme/live/(.*)/haproxy',
'
\\
1')
}}>
Run
acmetool
(Make
sure
your
system
is
accessible
from
the
internet!)"
shell
:
"
acmetool
want
--batch
{{item
|
regex_replace('/var/lib/acme/live/(.*)/haproxy',
'
\\
1')
}}"
-
name
:
"
<{{
item
}}>
Run
acmetool
(Make
sure
your
system
is
accessible
from
the
internet!)"
shell
:
"
acmetool
want
--batch
{{
item
}}"
register
:
result
changed_when
:
"
result.stdout"
when
:
not cert.stat.exists
notify
:
restart haproxy
tags
:
-
skip_ansible_lint
\ No newline at end of file
-
skip_ansible_lint
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