166 lines
3.9 KiB
JSON
166 lines
3.9 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": "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: 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": "Build & Push: postfix",
|
|
"type": "shell",
|
|
"command": "make push-postfix",
|
|
"group": "build",
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
}
|
|
},
|
|
{
|
|
"label": "Build & Push: opendkim",
|
|
"type": "shell",
|
|
"command": "make push-opendkim",
|
|
"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"
|
|
}
|
|
]
|
|
} |