Skip to content
Snippets Groups Projects
Verified Commit 5fbeb262 authored by David Mehren's avatar David Mehren
Browse files

Always start after network is ready

parent 28f76d6a
No related branches found
No related tags found
No related merge requests found
...@@ -27,3 +27,15 @@ ...@@ -27,3 +27,15 @@
state: directory state: directory
when: haproxy_global.chroot is defined and haproxy_global.chroot when: haproxy_global.chroot is defined and haproxy_global.chroot
- name: Create service override directory
file:
path: /etc/systemd/system/haproxy.service.d
state: directory
- name: Copy service override
copy:
dest: /etc/systemd/system/haproxy.service.d/override.conf
content: |
[Unit]
Wants=network-online.target
After=network-online.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment