fix(contrib/terraform): do not set ssh port (#9828)

Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
pull/9846/head
Maxime Leroy 2023-03-02 03:50:55 +01:00 committed by GitHub
parent b7fe368469
commit 835811ec84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -284,8 +284,6 @@ def openstack_host(resource, module_name):
'network': parse_attr_list(raw_attrs, 'network'), 'network': parse_attr_list(raw_attrs, 'network'),
'region': raw_attrs.get('region', ''), 'region': raw_attrs.get('region', ''),
'security_groups': parse_list(raw_attrs, 'security_groups'), 'security_groups': parse_list(raw_attrs, 'security_groups'),
# ansible
'ansible_ssh_port': 22,
# workaround for an OpenStack bug where hosts have a different domain # workaround for an OpenStack bug where hosts have a different domain
# after they're restarted # after they're restarted
'host_domain': 'novalocal', 'host_domain': 'novalocal',