mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Allow setting resource.RLIMIT_NOFILE in modules (#51989)
This commit is contained in:
@@ -40,6 +40,7 @@ def ansible_environment(args, color=True, ansible_config=None):
|
||||
raise ApplicationError('Configuration not found: %s' % ansible_config)
|
||||
|
||||
ansible = dict(
|
||||
ANSIBLE_PYTHON_MODULE_RLIMIT_NOFILE='1024',
|
||||
ANSIBLE_FORCE_COLOR='%s' % 'true' if args.color and color else 'false',
|
||||
ANSIBLE_DEPRECATION_WARNINGS='false',
|
||||
ANSIBLE_HOST_KEY_CHECKING='false',
|
||||
|
||||
Reference in New Issue
Block a user