86 lines
2.0 KiB
JSON
86 lines
2.0 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": "Build & Push: postfix",
|
|
"type": "shell",
|
|
"command": "make push-postfix",
|
|
"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"
|
|
}
|
|
]
|
|
} |