From 3f7a8f6f95397e6cd816adf91d02f3975a3d9f4f Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Tue, 24 Oct 2017 18:23:42 +0100 Subject: Create sercurity group for Gitlab IRC bot --- firewall.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/firewall.yaml b/firewall.yaml index 2ef201be..e06b12e1 100644 --- a/firewall.yaml +++ b/firewall.yaml @@ -114,6 +114,22 @@ protocol: tcp remote_ip_prefix: 0.0.0.0/0 + - name: gitlab-bot security group + os_security_group: + name: gitlab-bot + description: Allow incoming TCP requests for gitlab-bot + state: present + + - name: gitlab-bot security group -- allow incoming TCP on port 1337 for Gitlab IRC bot + os_security_group_rule: + security_group: gitlab-bot + direction: ingress + port_range_min: 1337 + port_range_max: 1337 + ethertype: IPv4 + protocol: tcp + remote_ip_prefix: 0.0.0.0/0 + - name: git-server security group os_security_group: name: git-server -- cgit v1.2.1