From 7001ee68a00ba09b98dd7c15fc8ed3aca807b9e1 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Thu, 25 Apr 2019 11:21:00 -0700 Subject: [PATCH] sudo add iptables rules We forgot these tasks must be run as root. Change-Id: Id469cf2319c0c8b25cc61cbded318291518e95d9 --- playbooks/buildset-registry/pre.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/buildset-registry/pre.yaml b/playbooks/buildset-registry/pre.yaml index 1f6c294..f6c5af4 100644 --- a/playbooks/buildset-registry/pre.yaml +++ b/playbooks/buildset-registry/pre.yaml @@ -4,6 +4,7 @@ include_role: name: install-docker - name: Open the IPv4 port for the buildset registry + become: true iptables: action: insert chain: openstack-INPUT @@ -14,6 +15,7 @@ protocol: tcp ip_version: ipv4 - name: Open the IPv6 port for the buildset registry + become: true iptables: action: insert chain: openstack-INPUT