matrixtest-IaC-ansible/securitygrouptasks.yaml

35 lines
919 B
YAML
Raw Normal View History

---
- name: Create kubenode securitygroup
openstack.cloud.security_group:
state: present
name: kubenode
description: Kubenode security group to allow required traffic between nodes
- name: Create kubenode IPv4 ingress rule
openstack.cloud.security_group_rule:
security_group: kubenode
remote_group: kubenode
ether_type: IPv4
direction: ingress
- name: Create kubenode IPv4 egress rule
openstack.cloud.security_group_rule:
security_group: kubenode
remote_group: kubenode
ether_type: IPv4
direction: egress
- name: Create kubenode IPv6 ingress rule
openstack.cloud.security_group_rule:
security_group: kubenode
remote_group: kubenode
ether_type: IPv6
direction: ingress
- name: Create kubenode IPv6 egress rule
openstack.cloud.security_group_rule:
security_group: kubenode
remote_group: kubenode
ether_type: IPv6
direction: egress