mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
cloudstack: vpn: compatiblity fix for 4.5 API (#40700)
This commit is contained in:
@@ -297,7 +297,7 @@ class AnsibleCloudStackVpnConnection(AnsibleCloudStack):
|
||||
if 'cidrlist' in vpn_conn:
|
||||
self.result['cidrs'] = vpn_conn['cidrlist'].split(',') or [vpn_conn['cidrlist']]
|
||||
# Ensure we return a bool
|
||||
self.result['force_encap'] = True if vpn_conn['forceencap'] else False
|
||||
self.result['force_encap'] = True if vpn_conn.get('forceencap') else False
|
||||
args = {
|
||||
'key': 'name',
|
||||
'identifier': vpn_conn['s2scustomergatewayid'],
|
||||
|
||||
Reference in New Issue
Block a user