From f9309d30e4a2b25b96b16c0ecb6ef70840cecc4e Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Mon, 11 Oct 2021 12:34:43 +1100
Subject: [PATCH] fix the secgroup

---
 CICD/infra/os_create.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CICD/infra/os_create.yml b/CICD/infra/os_create.yml
index d75265ae..fc8a8efb 100644
--- a/CICD/infra/os_create.yml
+++ b/CICD/infra/os_create.yml
@@ -51,6 +51,12 @@
       security_group: "{{ project_name}}-secgroup"
       remote_group: "{{ project_name}}-secgroup"
       protocol: "icmp"
+  - openstack.cloud.security_group_rule:
+      security_group: "{{ project_name}}-secgroup"
+      remote_ip_prefix: "0.0.0.0/0"
+      protocol: "tcp"
+      port_range_min: 22
+      port_range_max: 22
 
   - name: debug subnet
     debug:
-- 
GitLab