hosts/db-mdb11, roles/dbserver-mariadb: remove ansibleLibPackage opt
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
dbserver-mariadb = {
|
||||
enable = true;
|
||||
ansibleLibPackage = pkgs.python312Packages.pymysql;
|
||||
};
|
||||
|
||||
base.userSSHKeys = [
|
||||
|
@@ -24,19 +24,12 @@ in
|
||||
description = "Package to use for the database server";
|
||||
example = mariadb;
|
||||
};
|
||||
|
||||
ansibleLibPackage = mkOption {
|
||||
type = types.package;
|
||||
default = defaultPyMySQLPackage;
|
||||
description = "Python library to use for Ansible interfacing";
|
||||
example = pkgs.python313Packages.pymysql;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
cfg.dbPackage
|
||||
cfg.ansibleLibPackage
|
||||
(python3.withPackages (ps: [ ps.pymysql ]))
|
||||
];
|
||||
|
||||
services.mysql = {
|
||||
|
Reference in New Issue
Block a user