You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be because when haproxy is re-installed, it will be started immediately, and then fails with an error because the configuration file isn't found.
Suggested fix: move Write HAProxy Config task to before Install HAProxy task. This fixed the issue for me.
Or perhaps disable the haproxy service before tearing it down? Or some other way to prevent it from auto-starting on install?
The text was updated successfully, but these errors were encountered:
Hey @samuelengineer
Is this still an issue for you on the latest playbook version? We've had internal testing that deploys HA using these playbooks, so if there's something else we need to look into that would be great to know!
@SK1Y101 sorry not sure, I haven't looked at this since last year. And I won't have time/resources to test again now I'm sorry. Feel free to close the bug. :)
Running the sequence of site.yaml, teardown.yaml, site.yaml playbooks results in:
This seems to be because when haproxy is re-installed, it will be started immediately, and then fails with an error because the configuration file isn't found.
Suggested fix: move
Write HAProxy Config
task to beforeInstall HAProxy
task. This fixed the issue for me.Or perhaps disable the haproxy service before tearing it down? Or some other way to prevent it from auto-starting on install?
The text was updated successfully, but these errors were encountered: