56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
|
|
"target": "/tmp/snapshot",
|
|
"timestamp": "true",
|
|
"dump_roles": {
|
|
"master": ["localhost"],
|
|
"slave": ["srv11-msk.msk.mirantis.net"]
|
|
},
|
|
"dump_objects": {
|
|
"master": [
|
|
{
|
|
"type": "file",
|
|
"path": "/etc/rsyslog.d"
|
|
},
|
|
{
|
|
"type": "postgres",
|
|
"dbname": "nailgun",
|
|
"username": "postgres"
|
|
},
|
|
{
|
|
"type": "subs",
|
|
"path": "/tmp/111",
|
|
"subs": {
|
|
"line": "LINE",
|
|
"password": "PASSWORD"
|
|
}
|
|
},
|
|
{
|
|
"type": "subs",
|
|
"path": "/tmp/222.gz",
|
|
"subs": {
|
|
"line": "LINE",
|
|
"password": "PASSWORD"
|
|
}
|
|
}
|
|
],
|
|
"slave": [
|
|
{
|
|
"type": "command",
|
|
"command": "ps auxww"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "top"
|
|
},
|
|
{
|
|
"type": "command",
|
|
"command": "ip a"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "/etc/naily.facts"
|
|
}
|
|
]
|
|
}
|
|
} |