From 0653c10a21dd97e8e1f7e10601de3965a2f4b8b7 Mon Sep 17 00:00:00 2001 From: Conor Schaefer Date: Tue, 29 Sep 2020 10:31:47 -0700 Subject: [PATCH] Increase timeout on OSSEC fetch tasks Affects the build logic. We saw CI failures related to the timeout being reached. Default timeout is only 10s, so let's bump that up to 30s in an attempt to make the build process more durable. --- .../ansible-base/roles/build-ossec-deb-pkg/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_files/ansible-base/roles/build-ossec-deb-pkg/tasks/main.yml b/install_files/ansible-base/roles/build-ossec-deb-pkg/tasks/main.yml index 77df056adc..255ce9eef2 100644 --- a/install_files/ansible-base/roles/build-ossec-deb-pkg/tasks/main.yml +++ b/install_files/ansible-base/roles/build-ossec-deb-pkg/tasks/main.yml @@ -34,11 +34,13 @@ url: "{{ ossec_tarball_url }}" dest: "{{ build_path }}/{{ ossec_tarball_filename }}" checksum: "{{ ossec_source_checksum }}" + timeout: "30" - name: Download OSSEC signature. get_url: url: "{{ ossec_signature_url }}" dest: "{{ build_path }}/{{ ossec_signature_filename }}" + timeout: "30" - name: Copy OSSEC archive GPG key. copy: src=../files/OSSEC-ARCHIVE-KEY.asc dest=/tmp/OSSEC-ARCHIVE-KEY.asc