init
This commit is contained in:
Vendored
+76
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"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": "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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user