Skip to content

Commit

Permalink
bye ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 27, 2024
1 parent cfbd211 commit 991b531
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/distro_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:24.04", "debian", "archlinux", "fedora", "gentoo/python", "python:3.10-alpine", "kalilinux/kali-rolling", "parrotsec/security"]
os: ["ubuntu:22.04", "ubuntu:24.04", "debian", "archlinux", "fedora", "gentoo/python", "python:3.10-alpine", "kalilinux/kali-rolling", "parrotsec/security"]
steps:
- uses: actions/checkout@v4
- name: Install Python and Poetry
Expand Down
16 changes: 2 additions & 14 deletions bbot/modules/wpscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,10 @@ class wpscan(BaseModule):
deps_apt = ["curl", "make", "gcc"]
deps_ansible = [
{
"name": "Install Ruby Deps (Ubuntu 20.04)",
"package": {"name": ["ruby-dev"], "state": "present"},
"become": True,
"when": "ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_major_version'] == '20'",
},
{
"name": "Update RubyGems System (Ubuntu 20.04)",
"command": "gem update --system",
"become": True,
"when": "ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_major_version'] == '20'",
},
{
"name": "Install Ruby Deps (Other Debian-based)",
"name": "Install Ruby Deps (Debian)",
"package": {"name": ["ruby-rubygems", "ruby-dev"], "state": "present"},
"become": True,
"when": "ansible_facts['os_family'] == 'Debian' and not (ansible_facts['distribution'] == 'Ubuntu' and ansible_facts['distribution_major_version'] == '20')",
"when": "ansible_facts['os_family'] == 'Debian'",
},
{
"name": "Install Ruby Deps (Arch)",
Expand Down

0 comments on commit 991b531

Please sign in to comment.