911fe88a9f
Fix ensure-kubernetes role for focal As focal doesn't exist for project atomic ppa [1] Install is performed from opensuse repository only As cri-o package 1.15 for ubuntu focal doesn't exist, update to 1.16 [1] http://ppa.launchpad.net/projectatomic/ppa/ubuntu/dists/ [2] https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/ Change-Id: I7f02b7337a5f51a86be1a2332f2305b0ae722934
33 lines
882 B
YAML
33 lines
882 B
YAML
- hosts: all
|
|
roles:
|
|
- ensure-docker
|
|
- ensure-skopeo
|
|
|
|
tasks:
|
|
# This happens in the pre-playbook of the
|
|
# opendev-buildset-registry job. Since we're testing these roles
|
|
# in opendev, and we're running a second buildset registry, we
|
|
# need to do the same here for it.
|
|
- name: Open the IPv4 port for the second buildset registry
|
|
become: true
|
|
iptables:
|
|
action: insert
|
|
chain: openstack-INPUT
|
|
destination_port: '9000'
|
|
jump: ACCEPT
|
|
match: tcp
|
|
ctstate: NEW
|
|
protocol: tcp
|
|
ip_version: ipv4
|
|
- name: Open the IPv6 port for the second buildset registry
|
|
become: true
|
|
iptables:
|
|
action: insert
|
|
chain: openstack-INPUT
|
|
destination_port: '9000'
|
|
jump: ACCEPT
|
|
match: tcp
|
|
ctstate: NEW
|
|
protocol: tcp
|
|
ip_version: ipv6
|