haad / vs-language-ansible

Ansible syntax highlighting extension for VScode editor
MIT License
14 stars 6 forks source link

Ansible Syntax Highlighting Extension

Setup File associations

Settings for VScode to automatically assign Ansible syntax to files.

    "files.associations": {
        "**/defaults/**/*": "ansible",
        "**/tasks/**/*.yml" : "ansible",
        "**/handler/*.yml" : "ansible",
        "**/*_vars/**/*.yml" : "ansible",
        "**/roles/**/*.yml" : "ansible",
        "**/playbooks/**/*.yml" : "ansible",
        "**/*ansible*/**/*.yml" : "ansible",
        "**/vars/**/*.yml": "ansible",
        "**/inventory/*/*": "ansible"
    }