diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 5b29844..1f2b330 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -1522,10 +1522,6 @@ class WOStackController(CementBaseController): 'kickstart-static64.sh', '/tmp/kickstart.sh', 'Netdata']] - if not WOAptGet.is_installed(self, 'python3-mysqldb'): - Log.debug( - self, "Setting apt_packages variable for Fail2ban") - apt_packages = apt_packages + WOVariables.wo_netdata # WordOps Dashboard if self.app.pargs.dashboard: diff --git a/wo/core/variables.py b/wo/core/variables.py index 6b2556f..fd12917 100644 --- a/wo/core/variables.py +++ b/wo/core/variables.py @@ -158,12 +158,10 @@ class WOVariables(): "10.3/debian {codename} main" .format(codename=wo_platform_codename)) - wo_mysql = ["mariadb-server", "percona-toolkit"] + wo_mysql = ["mariadb-server", "percona-toolkit", "python3-mysqldb"] wo_fail2ban = "fail2ban" - wo_netdata = "python3-mysqldb" - # Redis repo details if wo_platform_distro == 'ubuntu': wo_redis_repo = ("ppa:chris-lea/redis-server")