mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
[stable-1] Update CI (#1790)
* Update CI (#1782) * Update targets for CI for devel branch; move some targets to stable-2.10. * Skipping test on RHEL 8.3 (it is already skipped on RHEL 8.2). * Linting. * Shut 2.9/2.10 pylint complaints up. * More sanity. * Bump CI to FreeBSD 11.4, 12.2. (#1657) * Bump CI to FreeBSD 11.4, 12.2. * Make FreeBSD Python package selection more future-proof. (cherry picked from commitc1eb0a232c) * Add macOS 11.1 tests (#1619) * Add macOS 11.1 tests. * Hopefully fix virtualenv.sh problems. (cherry picked from commit74174f11ff) * Skip all postgresql tests on FreeBSD. * Skip kubevirt inventory tests on macOS.
This commit is contained in:
@@ -323,7 +323,7 @@ def normalize_ip(ip, ip_version):
|
||||
if '/' in ip:
|
||||
ip, range = ip.split('/')
|
||||
else:
|
||||
ip, range = ip, ''
|
||||
range = ''
|
||||
ip_addr = to_native(compat_ipaddress.ip_address(to_text(ip)).compressed)
|
||||
if range == '':
|
||||
range = '32' if ip_version.lower() == 'ipv4' else '128'
|
||||
|
||||
Reference in New Issue
Block a user