56 lines
2.1 KiB
JSON
56 lines
2.1 KiB
JSON
{
|
|
"chat.tools.terminal.autoApprove": {
|
|
"/^tofu --version$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^cd \\.\\./opentofu && tofu plan$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^tofu apply -refresh-only -auto-approve$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^tofu apply -auto-approve && tofu plan$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^cd /home/krenner/opentofu && tofu plan$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^cd /home/krenner/opentofu && tofu validate$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^ssh root@10\\.2\\.40\\.214 \"journalctl -u act_runner -n 50\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 100 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 50 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 200 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^sleep 5 && ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 200 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^sleep 15 && ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 200 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
},
|
|
"/^sleep 20 && ssh -o StrictHostKeyChecking=no root@gitea-runner-1 \"journalctl -u act_runner -n 200 --no-pager\"$/": {
|
|
"approve": true,
|
|
"matchCommandLine": true
|
|
}
|
|
}
|
|
} |