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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Eric Zillmann
haproxy
Commits
17f65a7a
Commit
17f65a7a
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Improve handling of proxy_active variable
parent
a0a7d07b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/main.yml
+2
-2
2 additions, 2 deletions
tasks/main.yml
tasks/proxypool.yml
+3
-3
3 additions, 3 deletions
tasks/proxypool.yml
with
5 additions
and
5 deletions
tasks/main.yml
+
2
−
2
View file @
17f65a7a
...
...
@@ -29,8 +29,8 @@
import_tasks
:
'
buildcerts.yml'
tags
:
'
Certs'
when
:
'
proxy_active
is
defined
and
proxy_active
and
"letsencrypt"
not
in
excluded_roles'
when
:
'
proxy_active
|default(true)
and
"letsencrypt"
not
in
excluded_roles'
-
import_tasks
:
'
proxypool.yml'
when
:
'
proxy_active
is
defined
and
"letsencrypt"
not
in
excluded_roles'
when
:
'
"letsencrypt"
not
in
excluded_roles'
tags
:
'
Certs'
This diff is collapsed.
Click to expand it.
tasks/proxypool.yml
+
3
−
3
View file @
17f65a7a
...
...
@@ -8,17 +8,17 @@
path
:
'
/etc/letsencrypt'
owner
:
'
{{
ansible_env.SUDO_USER
}}'
recurse
:
yes
when
:
proxy_active
when
:
proxy_active
|default(true)
-
name
:
"
Pull
Certs
from
active
Proxy"
import_tasks
:
'
pullcerts.yml'
when
:
not proxy_active
when
:
not proxy_active
|default(true)
-
name
:
"
Set
directory
permissions
to
root"
file
:
path
:
'
/etc/letsencrypt'
owner
:
'
root'
recurse
:
yes
when
:
proxy_active
when
:
proxy_active
|default(true)
tags
:
'
Certs'
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