mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-17 14:21:30 +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:
@@ -125,7 +125,7 @@ data:
|
||||
'''
|
||||
|
||||
from ansible_collections.community.general.plugins.module_utils.scaleway import SCALEWAY_LOCATION, scaleway_argument_spec, Scaleway, payload_from_object
|
||||
from ansible_collections.ansible.netcommon.plugins.module_utils.compat.ipaddress import ip_network
|
||||
from ansible_collections.community.general.plugins.module_utils.compat.ipaddress import ip_network
|
||||
from ansible.module_utils._text import to_text
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
Reference in New Issue
Block a user