mirror of https://github.com/jumpserver/jumpserver
parent
fb66acbf0a
commit
26de26d7b0
|
@ -37,10 +37,10 @@ class DatabaseTypes(BaseType):
|
||||||
'push_account_enabled': True,
|
'push_account_enabled': True,
|
||||||
},
|
},
|
||||||
cls.REDIS: {
|
cls.REDIS: {
|
||||||
'push_account_enabled': False,
|
'ansible_enabled': False,
|
||||||
},
|
},
|
||||||
cls.CLICKHOUSE: {
|
cls.CLICKHOUSE: {
|
||||||
'push_account_enabled': False,
|
'ansible_enabled': False,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
return constrains
|
return constrains
|
||||||
|
@ -61,9 +61,7 @@ class DatabaseTypes(BaseType):
|
||||||
cls.POSTGRESQL: [{'name': 'PostgreSQL'}],
|
cls.POSTGRESQL: [{'name': 'PostgreSQL'}],
|
||||||
cls.ORACLE: [{'name': 'Oracle'}],
|
cls.ORACLE: [{'name': 'Oracle'}],
|
||||||
cls.SQLSERVER: [{'name': 'SQLServer'}],
|
cls.SQLSERVER: [{'name': 'SQLServer'}],
|
||||||
cls.CLICKHOUSE: [
|
cls.CLICKHOUSE: [{'name': 'ClickHouse'}],
|
||||||
{'name': 'ClickHouse', 'automation': {'ansible_enabled': False}}
|
|
||||||
],
|
|
||||||
cls.MONGODB: [{'name': 'MongoDB'}],
|
cls.MONGODB: [{'name': 'MongoDB'}],
|
||||||
cls.REDIS: [{'name': 'Redis'}],
|
cls.REDIS: [{'name': 'Redis'}],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue