aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/consul
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/consul')
-rw-r--r--ansible/roles/consul/files/consul.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/roles/consul/files/consul.service b/ansible/roles/consul/files/consul.service
index 3993567..ffaa2a3 100644
--- a/ansible/roles/consul/files/consul.service
+++ b/ansible/roles/consul/files/consul.service
@@ -1,5 +1,7 @@
[Unit]
Description=Consul
+After=network-online.target
+Wants=network-online.target
[Service]
ExecStart=/usr/local/bin/consul agent -config-dir=/etc/consul