mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Add copy of ipaddress.py from ansible.netcommon (#49)
* Add copy of ipaddress.py from ansible.netcommon, use that one in non-network modules. * Copy required functions from ansible.netcommon. Simpler than using compat.ipaddress to do this.
This commit is contained in:
@@ -270,7 +270,7 @@ firewall:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.ansible.netcommon.plugins.module_utils.compat import ipaddress as compat_ipaddress
|
||||
from ansible_collections.community.general.plugins.module_utils.compat import ipaddress as compat_ipaddress
|
||||
from ansible_collections.community.general.plugins.module_utils.hetzner import (
|
||||
HETZNER_DEFAULT_ARGUMENT_SPEC,
|
||||
BASE_URL,
|
||||
|
||||
Reference in New Issue
Block a user