1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

OCPBUGS-25132: Fixes for the OpensStack UPI playbooks.

This commit changes `ether_type` field to `ethertype` so it will not
break on older ansible openstack collections.
Also, fixed condition for IPv6 block.
This commit is contained in:
Roman Dobosz
2023-12-13 11:40:00 +01:00
parent 271f2565c6
commit 39f4d26d92

View File

@@ -323,7 +323,7 @@
- name: 'Create master-sg IPv6 rule "OpenShift API"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_master }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
port_range_min: 6443
port_range_max: 6443
@@ -331,7 +331,7 @@
- name: 'Create worker-sg IPv6 rule "Ingress HTTP"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_worker }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
port_range_min: 80
port_range_max: 80
@@ -339,7 +339,7 @@
- name: 'Create worker-sg IPv6 rule "Ingress HTTPS"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_worker }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
port_range_min: 443
port_range_max: 443
@@ -347,7 +347,7 @@
- name: 'Create master-sg rule "master ingress HTTP (TCP)"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_master }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
port_range_min: 80
port_range_max: 80
@@ -356,7 +356,7 @@
- name: 'Create master-sg rule "master ingress HTTPS (TCP)"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_master }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
port_range_min: 443
port_range_max: 443
@@ -365,12 +365,11 @@
- name: 'Create master-sg rule "router"'
openstack.cloud.security_group_rule:
security_group: "{{ os_sg_master }}"
ether_type: IPv6
ethertype: IPv6
protocol: tcp
remote_ip_prefix: "{{ os_subnet_range }}"
port_range_min: 1936
port_range_max: 1936
when: os_master_schedulable is defined and os_master_schedulable
when:
when: os_subnet6 is defined
when: os_subnet6 is defined