forked from davestephens/ansible-nas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.json
43 lines (43 loc) · 1.2 KB
/
tasks.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run Playbook",
"type": "shell",
"command": "ansible-playbook -i inventory nas.yml -b -K",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Run Playbook Syntax Check",
"type": "shell",
"command": "ansible-playbook -i inventory nas.yml --syntax-check",
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "Run ansible-lint",
"type": "shell",
"command": "ansible-lint nas.yml",
"group": "test"
},
{
"label": "Serve docs locally (mkdocs serve)",
"type": "shell",
"command": "mkdocs serve",
"group": "test"
},
{
"label": "Deploy docs to GitHub (mkdocs gh-deploy)",
"type": "shell",
"command": "mkdocs gh-deploy",
"group": "build"
}
]
}