summaryrefslogtreecommitdiffstats
path: root/roles/docker/templates/custom.conf.j2
blob: 713412473cc729aeee0c8fff018169ab9ec37308 (plain)
1
2
3
4
5
6
7
8
9
10
11
# {{ ansible_managed }}

[Unit]
Wants=iptables.service
After=iptables.service

# The following line is a work-around to ensure docker is restarted whenever
# iptables is restarted.  This ensures the proper iptables rules will be in
# place for docker.
# Note:  This will also cause docker to be stopped if iptables is stopped.
PartOf=iptables.service