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
d84d1a50
Commit
d84d1a50
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Fix some conditionals
parent
2339b4e4
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
handlers/main.yml
+2
-2
2 additions, 2 deletions
handlers/main.yml
with
2 additions
and
2 deletions
handlers/main.yml
+
2
−
2
View file @
d84d1a50
...
@@ -4,8 +4,8 @@
...
@@ -4,8 +4,8 @@
-
name
:
Check HAProxy Config
-
name
:
Check HAProxy Config
command
:
haproxy -c -f /etc/haproxy/haproxy.cfg
command
:
haproxy -c -f /etc/haproxy/haproxy.cfg
register
:
haproxy_config_check
register
:
haproxy_config_check
changed_when
:
yes and
'Configuration file is valid
'
in haproxy_config_check.stdout_lines
changed_when
:
'
"
Configuration
file
is
valid
"
in
haproxy_config_check.stdout_lines
'
failed_when
:
yes and
'Configuration file is valid
'
not in haproxy_config_check.stdout_lines
failed_when
:
'
"
Configuration
file
is
valid
"
not
in
haproxy_config_check.stdout_lines
'
notify
:
notify
:
-
Restart HAProxy
-
Restart HAProxy
...
...
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