From b300b2e3563f406058b6c29d61a9ec7fb6969cab Mon Sep 17 00:00:00 2001 From: Russell Teague Date: Wed, 9 Nov 2016 13:24:07 -0500 Subject: Resolve docker and iptables service dependencies The docker service adds rules to the iptables configuration to support proper network functionality for running containers. If the service is started prior to iptables, these rules are not properly created. * Ensure iptables is started prior to docker Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1390835 --- roles/docker/templates/custom.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/docker/templates/custom.conf.j2 (limited to 'roles/docker/templates') diff --git a/roles/docker/templates/custom.conf.j2 b/roles/docker/templates/custom.conf.j2 new file mode 100644 index 000000000..53ed56abc --- /dev/null +++ b/roles/docker/templates/custom.conf.j2 @@ -0,0 +1,5 @@ +# {{ ansible_managed }} + +[Unit] +Requires=iptables.service +After=iptables.service -- cgit v1.2.3