From 6c8a1ad2aeaccfcf5db49cc15192d971a0c7d6f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 31 Jan 2024 11:44:10 +0100 Subject: [PATCH] tests.e2e.ansible: Disable warning for custom shell scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we do want to do multiple steps and doing that in shell makes sense in those cases, ignore the ansible warning explicitly. Signed-off-by: Lukáš Doktor --- tests/e2e/ansible/install_containerd.yml | 1 + tests/e2e/ansible/install_test_deps.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/e2e/ansible/install_containerd.yml b/tests/e2e/ansible/install_containerd.yml index 4f6d1021..2dcd4116 100644 --- a/tests/e2e/ansible/install_containerd.yml +++ b/tests/e2e/ansible/install_containerd.yml @@ -31,6 +31,7 @@ containerd config default > /etc/containerd/config.toml args: executable: /bin/bash + warn: false - name: Restart containerd service service: name: containerd diff --git a/tests/e2e/ansible/install_test_deps.yml b/tests/e2e/ansible/install_test_deps.yml index 769245ac..31d93545 100644 --- a/tests/e2e/ansible/install_test_deps.yml +++ b/tests/e2e/ansible/install_test_deps.yml @@ -41,6 +41,7 @@ cp -f ./kustomize /usr/local/bin args: creates: /usr/local/bin/kustomize + warn: false retries: 3 delay: 10 when: kustomize_exist.rc != 0