From 835811ec84ce2c9798a7b61899d336c462161495 Mon Sep 17 00:00:00 2001
From: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
Date: Thu, 2 Mar 2023 03:50:55 +0100
Subject: [PATCH] fix(contrib/terraform): do not set ssh port (#9828)

Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
---
 contrib/terraform/terraform.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/contrib/terraform/terraform.py b/contrib/terraform/terraform.py
index a08df8e6f..03a6785cc 100755
--- a/contrib/terraform/terraform.py
+++ b/contrib/terraform/terraform.py
@@ -284,8 +284,6 @@ def openstack_host(resource, module_name):
         'network': parse_attr_list(raw_attrs, 'network'),
         'region': raw_attrs.get('region', ''),
         'security_groups': parse_list(raw_attrs, 'security_groups'),
-        # ansible
-        'ansible_ssh_port': 22,
         # workaround for an OpenStack bug where hosts have a different domain
         # after they're restarted
         'host_domain': 'novalocal',
-- 
GitLab