Skip to content

Commit

Permalink
Merge pull request #1921 from blacklanternsecurity/fix-fedora
Browse files Browse the repository at this point in the history
Fix fedora tests
  • Loading branch information
TheTechromancer authored Nov 4, 2024
2 parents b729f28 + ba598ad commit 02069d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/distro_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
elif [ "$ID" = "arch" ]; then
pacman -Syu --noconfirm curl git bash base-devel
elif [ "$ID" = "fedora" ]; then
dnf install -y curl git bash gcc make openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel tk-devel gdbm-devel readline-devel sqlite-devel
dnf install -y curl git bash gcc make openssl-devel bzip2-devel libffi-devel zlib-devel xz-devel tk-devel gdbm-devel readline-devel sqlite-devel python3-libdnf5
elif [ "$ID" = "gentoo" ]; then
echo "media-libs/libglvnd X" >> /etc/portage/package.use/libglvnd
emerge-webrsync
Expand Down
2 changes: 1 addition & 1 deletion bbot/core/helpers/depsinstaller/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def tasks(self, module, tasks):
return success

def ansible_run(self, tasks=None, module=None, args=None, ansible_args=None):
_ansible_args = {"ansible_connection": "local"}
_ansible_args = {"ansible_connection": "local", "ansible_python_interpreter": sys.executable}
if ansible_args is not None:
_ansible_args.update(ansible_args)
module_args = None
Expand Down

0 comments on commit 02069d1

Please sign in to comment.