mirror of https://github.com/jumpserver/jumpserver
parent
fc34980f20
commit
7b95859015
|
@ -31,11 +31,11 @@ class DeviceTypes(BaseType):
|
|||
def _get_automation_constrains(cls) -> dict:
|
||||
return {
|
||||
'*': {
|
||||
'ansible_enabled': True,
|
||||
'ansible_enabled': False,
|
||||
'ansible_config': {
|
||||
'ansible_connection': 'local',
|
||||
},
|
||||
'ping_enabled': True,
|
||||
'ping_enabled': False,
|
||||
'gather_facts_enabled': False,
|
||||
'gather_accounts_enabled': False,
|
||||
'verify_account_enabled': False,
|
||||
|
|
|
@ -20,6 +20,8 @@ class WebTypes(BaseType):
|
|||
def _get_automation_constrains(cls) -> dict:
|
||||
constrains = {
|
||||
'*': {
|
||||
'ansible_enabled': False,
|
||||
'ping_enabled': False,
|
||||
'gather_facts_enabled': False,
|
||||
'verify_account_enabled': False,
|
||||
'change_secret_enabled': False,
|
||||
|
|
Loading…
Reference in New Issue