mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Admin: Ansible-lint, recommended VSCode extensions, line-ending cleanup
This commit is contained in:
parent
482e3faa9e
commit
6892ed515c
11 changed files with 126 additions and 101 deletions
6
.vscode/extensions.json
vendored
Normal file
6
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"haaaad.ansible",
|
||||
"ybaumes.highlight-trailing-white-spaces"
|
||||
]
|
||||
}
|
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
|
@ -20,6 +20,12 @@
|
|||
"kind": "test",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Ansible-Lint",
|
||||
"type": "shell",
|
||||
"command": "ansible-lint nas.yml",
|
||||
"group": "test"
|
||||
}
|
||||
]
|
||||
}
|
12
nas.yml
12
nas.yml
|
@ -81,5 +81,13 @@
|
|||
tags: guacamole
|
||||
|
||||
roles:
|
||||
- bertvv.samba
|
||||
- geerlingguy.docker
|
||||
- role: bertvv.samba
|
||||
tags:
|
||||
- samba
|
||||
- skip_ansible_lint
|
||||
|
||||
- role: geerlingguy.docker
|
||||
tags:
|
||||
- docker
|
||||
- skip_ansible_lint
|
||||
|
||||
|
|
|
@ -32,3 +32,5 @@
|
|||
name: docker
|
||||
state: restarted
|
||||
when: docker_config.changed
|
||||
tags:
|
||||
- skip_ansible_lint
|
|
@ -9,6 +9,8 @@
|
|||
upgrade: true
|
||||
state: latest
|
||||
when: keep_packages_updated == true
|
||||
tags:
|
||||
- skip_ansible_lint
|
||||
|
||||
- name: Install some packages
|
||||
apt:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- include_vars: group_vars/vpn_credentials.yml
|
||||
- name: Include VPN credentials
|
||||
include_vars: group_vars/vpn_credentials.yml
|
||||
|
||||
- name: Create Transmission Directories
|
||||
file:
|
||||
|
|
Loading…
Reference in a new issue