Open the firewall port for the buildset registry
This is unecessary on v4 due to the way docker munges forwarding rules, but let's do it anyway for consistency and future-proofing. It does appear to be necessary for ipv6. Change-Id: I8ebb8352049aea7eabcc88ef9e016e41a90bff6c
This commit is contained in:
parent
c9f558b14b
commit
b3e579712e
@ -3,6 +3,26 @@
|
||||
- name: Install docker
|
||||
include_role:
|
||||
name: install-docker
|
||||
- name: Open the IPv4 port for the buildset registry
|
||||
iptables:
|
||||
action: insert
|
||||
chain: openstack-INPUT
|
||||
destination_port: 5000
|
||||
jump: ACCEPT
|
||||
match: tcp
|
||||
ctstate: NEW
|
||||
protocol: tcp
|
||||
ip_version: ipv4
|
||||
- name: Open the IPv6 port for the buildset registry
|
||||
iptables:
|
||||
action: insert
|
||||
chain: openstack-INPUT
|
||||
destination_port: 5000
|
||||
jump: ACCEPT
|
||||
match: tcp
|
||||
ctstate: NEW
|
||||
protocol: tcp
|
||||
ip_version: ipv6
|
||||
- name: Run buildset registry (if not already running)
|
||||
when: buildset_registry is not defined
|
||||
include_role:
|
||||
|
Loading…
x
Reference in New Issue
Block a user