-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haproxy.cfg tidy and all no backend mode if backend.status exists #107
base: master
Are you sure you want to change the base?
Conversation
@@ -1,17 +1,30 @@ | |||
# {{ ansible_managed }} | |||
|
|||
#--# |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we add lines like these and remove them afterwards?
- name: configuration | format file (remove empty) | ||
lineinfile: | ||
path: /etc/haproxy/haproxy.cfg | ||
regex: '^\n' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to solve this in the template
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see #80
#80 is merged |
All "tidy" changes can be removed |
These commits
ansible vars
haproxy.cfg