diff options
Diffstat (limited to 'playbooks')
-rw-r--r-- | playbooks/zuul-tox/pre.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/playbooks/zuul-tox/pre.yaml b/playbooks/zuul-tox/pre.yaml index c8c1c6500..166875a6b 100644 --- a/playbooks/zuul-tox/pre.yaml +++ b/playbooks/zuul-tox/pre.yaml @@ -4,3 +4,13 @@ - run-dstat - role: ensure-zookeeper zookeeper_use_tls: true + tasks: + # This is needed to run opendev unit test jobs under bionic/focal, + # but may not be necessary in later releases + - name: Increase open file limit + become: True + lineinfile: + path: /etc/security/limits.conf + line: '* soft nofile 4096' + - name: Reset SSH connection + meta: reset_connection |