mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
Allow setting resource.RLIMIT_NOFILE in modules (#51989)
This commit is contained in:
parent
1db6d5598a
commit
f5c92f6bc1
7 changed files with 136 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue