Files
beepi/.vscode/tasks.json
T
2026-08-16 14:48:04 +02:00

274 lines
6.7 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Create vault inline password",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"command": "ansible-vault encrypt_string ${input:pw} --name ${input:name} --vault-password-file .vault-password",
"problemMatcher": []
},
{
"label": "Show vault secrets in current file",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"command": "python3 vaultShow.py ${relativeFile}",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"echo": false,
"clear": true
},
"problemMatcher": []
},
{
"label": "Show one vault secret in current file",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}"
},
"command": "python3 vaultShow.py ${relativeFile} ${input:varName}",
"presentation": {
"reveal": "always",
"panel": "dedicated",
"echo": false,
"clear": true
},
"problemMatcher": []
},
{
"label": "Deploy: nginx",
"type": "shell",
"command": "make deploy-nginx",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: gitea",
"type": "shell",
"command": "make deploy-gitea",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: monitoring",
"type": "shell",
"command": "make deploy-monitoring",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: letsencrypt",
"type": "shell",
"command": "make deploy-letsencrypt",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: ufw",
"type": "shell",
"command": "make deploy-ufw",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: fail2ban",
"type": "shell",
"command": "make deploy-fail2ban",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: fail2ban-ingress",
"type": "shell",
"command": "make deploy-fail2ban-ingress",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: mail",
"type": "shell",
"command": "make deploy-mail",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: backup",
"type": "shell",
"command": "make deploy-backup",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: wireguard",
"type": "shell",
"command": "make deploy-wireguard",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: ufw-ingress",
"type": "shell",
"command": "make deploy-ufw-ingress",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: wireguard-ingress",
"type": "shell",
"command": "make deploy-wireguard-ingress",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: matrix",
"type": "shell",
"command": "make deploy-matrix",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: openvpn",
"type": "shell",
"command": "make deploy-openvpn",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: immich",
"type": "shell",
"command": "make deploy-immich",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: ott",
"type": "shell",
"command": "make deploy-ott",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: vaultwarden",
"type": "shell",
"command": "make deploy-vaultwarden",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: hetzner",
"type": "shell",
"command": "make deploy-hetzner",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Deploy: ingress-hardening",
"type": "shell",
"command": "make deploy-ingress-hardening",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
}
},
{
"label": "Build & Push: ott",
"type": "shell",
"command": "make push-ott",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "dedicated"
},
"options": {
"cwd": "${workspaceFolder}/containers/ott"
}
}
// {
// "label": "Build & Push: <template>",
// "type": "shell",
// "command": "make push-<template>",
// "group": "build",
// "presentation": {
// "reveal": "always",
// "panel": "dedicated"
// }
// }
],
"inputs": [
{
"id": "pw",
"type": "promptString",
"description": "Password to be encrypted"
},
{
"id": "name",
"type": "promptString",
"description": "Name for the string"
},
{
"id": "varName",
"type": "promptString",
"description": "Variable name to decrypt"
}
]
}