diff --git a/lib/ansible/plugins/filter/ipaddr.py b/lib/ansible/plugins/filter/ipaddr.py index a9c1649572e..00a9a1028d2 100644 --- a/lib/ansible/plugins/filter/ipaddr.py +++ b/lib/ansible/plugins/filter/ipaddr.py @@ -785,7 +785,7 @@ def next_nth_usable(value, offset): return False if type(offset) != int: - raise errors.AnsibleFilterError('Must pass in an interger') + raise errors.AnsibleFilterError('Must pass in an integer') if v.size > 1: first_usable, last_usable = _first_last(v) nth_ip = int(netaddr.IPAddress(int(v.ip) + offset)) @@ -807,7 +807,7 @@ def previous_nth_usable(value, offset): return False if type(offset) != int: - raise errors.AnsibleFilterError('Must pass in an interger') + raise errors.AnsibleFilterError('Must pass in an integer') if v.size > 1: first_usable, last_usable = _first_last(v) nth_ip = int(netaddr.IPAddress(int(v.ip) - offset))