mirror of https://github.com/ansible/ansible.git
Fix test_range_templating on 32-bit architectures (#85007)
* Fix test_range_templating on 32-bit architectures 32-bit archtectures like i386, armel, armhf will fail with the error ansible._internal._templating._errors.AnsibleTemplatePluginRuntimeError: The filter plugin 'ansible.builtin.random' failed: Python int too large to convert to C ssize_t So just pick sys.maxsize (2**31 - 1) so it works on 32 bit machines. --------- Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu> Co-authored-by: Matt Clay <matt@mystile.com>pull/85016/head
parent
1b6b910439
commit
5f6aef95ac
Loading…
Reference in New Issue