From 04411552da7760e3d7a73da04b48987b3b94049e Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 27 Oct 2024 09:45:06 -0400 Subject: [PATCH] ruby things --- bbot/modules/wpscan.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bbot/modules/wpscan.py b/bbot/modules/wpscan.py index 4c1dce494..40c1d0181 100644 --- a/bbot/modules/wpscan.py +++ b/bbot/modules/wpscan.py @@ -33,10 +33,16 @@ class wpscan(BaseModule): deps_apt = ["curl", "make", "gcc"] deps_ansible = [ { - "name": "Install Ruby Deps (Debian/Ubuntu)", + "name": "Install Ruby Deps (Ubuntu 20.04)", + "package": {"name": ["ruby-dev"], "state": "present"}, + "become": True, + "when": "ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_version'] == '20.04'", + }, + { + "name": "Install Ruby Deps (Other Debian-based)", "package": {"name": ["ruby-rubygems", "ruby-dev"], "state": "present"}, "become": True, - "when": "ansible_facts['os_family'] == 'Debian'", + "when": "ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_version'] != '20.04'", }, { "name": "Install Ruby Deps (Arch)",