Skip to content

Commit

Permalink
tests.e2e.ansible: Disable warning for custom shell scripts
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ldoktor committed Feb 7, 2024
1 parent ae565d4 commit b7c462e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/e2e/ansible/install_containerd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
containerd config default > /etc/containerd/config.toml
args:
executable: /bin/bash
warn: false
- name: Restart containerd service
service:
name: containerd
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/ansible/install_test_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
cp -f ./kustomize /usr/local/bin
args:
creates: /usr/local/bin/kustomize
warn: false
retries: 3
delay: 10
when: kustomize_exist.rc != 0
Expand Down

0 comments on commit b7c462e

Please sign in to comment.