mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 11:03:07 +00:00
43 lines
No EOL
1.2 KiB
JSON
43 lines
No EOL
1.2 KiB
JSON
{
|
|
// 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"
|
|
}
|
|
]
|
|
} |