build: Include semantic release dry-run logic
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-07 17:31:32 +02:00
4 changed files with 54 additions and 30 deletions

View File

@ -1,14 +0,0 @@
import netaddr
def netaddr_iter_iprange(ip_start, ip_end):
return [str(ip) for ip in netaddr.iter_iprange(ip_start, ip_end)]
class FilterModule(object):
''' Ansible filter. Interface to netaddr methods.
https://pypi.org/project/netaddr/
'''
def filters(self):
return {
'netaddr_iter_iprange': netaddr_iter_iprange
}