From 614dcd5d064c986b4e0ecde4a041b9da6384728d Mon Sep 17 00:00:00 2001 From: github-actions Date: Sun, 27 Oct 2024 10:16:25 -0400 Subject: [PATCH] ubuntu why --- bbot/modules/wpscan.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bbot/modules/wpscan.py b/bbot/modules/wpscan.py index c82c80b1d8..295f10c0bb 100644 --- a/bbot/modules/wpscan.py +++ b/bbot/modules/wpscan.py @@ -38,6 +38,12 @@ class wpscan(BaseModule): "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)", "package": {"name": ["ruby-rubygems", "ruby-dev"], "state": "present"},