Skip to content

Commit

Permalink
chore: set a bash shebang recognized by ansible-test
Browse files Browse the repository at this point in the history
Few years ago, the "#!/bin/bash" shebang for bash scripts stopped to be
allowed by ansible-test in favour of "#!/usr/bin/env bash" [1].

Hence, switch the fact script to "#!/usr/bin/env bash", which will
behave in the same way. This makes it possible to drop the ignores for
this failure.

[1] ansible/ansible#50954

Signed-off-by: Pino Toscano <[email protected]>
  • Loading branch information
ptoscano authored and richm committed Nov 30, 2023
1 parent e725689 commit c18f6c3
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .ostree/get_ostree_data.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -euo pipefail

Expand Down
1 change: 0 additions & 1 deletion .sanity-ansible-ignore-2.12.txt

This file was deleted.

1 change: 0 additions & 1 deletion .sanity-ansible-ignore-2.13.txt

This file was deleted.

1 change: 0 additions & 1 deletion .sanity-ansible-ignore-2.14.txt

This file was deleted.

1 change: 0 additions & 1 deletion .sanity-ansible-ignore-2.15.txt

This file was deleted.

1 change: 0 additions & 1 deletion .sanity-ansible-ignore-2.9.txt

This file was deleted.

0 comments on commit c18f6c3

Please sign in to comment.