| 1 |
{ |
| 2 |
"$id": "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/vars.json", |
| 3 |
"$schema": "http://json-schema.org/draft-07/schema", |
| 4 |
"anyOf": [ |
| 5 |
{ |
| 6 |
"additionalProperties": false, |
| 7 |
"patternProperties": { |
| 8 |
"^(?!(False|None|True|and|any_errors_fatal|as|assert|async|await|become|become_exe|become_flags|become_method|become_user|break|check_mode|class|collections|connection|continue|debugger|def|del|diff|elif|else|environment|except|fact_path|finally|for|force_handlers|from|gather_facts|gather_subset|gather_timeout|global|handlers|hosts|if|ignore_errors|ignore_unreachable|import|in|is|lambda|max_fail_percentage|module_defaults|name|no_log|nonlocal|not|or|order|pass|port|post_tasks|pre_tasks|raise|remote_user|return|roles|run_once|serial|strategy|tags|tasks|throttle|timeout|try|vars|vars_files|vars_prompt|while|with|yield)$)[a-zA-Z_][\\w]*$": {} |
| 9 |
}, |
| 10 |
"type": "object" |
| 11 |
}, |
| 12 |
{ |
| 13 |
"pattern": "^\\$ANSIBLE_VAULT;", |
| 14 |
"type": "string" |
| 15 |
}, |
| 16 |
{ |
| 17 |
"type": "null" |
| 18 |
} |
| 19 |
], |
| 20 |
"description": "https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_variables.html", |
| 21 |
"examples": [ |
| 22 |
"playbooks/vars/*.yml", |
| 23 |
"vars/*.yml", |
| 24 |
"defaults/*.yml", |
| 25 |
"host_vars/*.yml", |
| 26 |
"group_vars/*.yml" |
| 27 |
], |
| 28 |
"markdownDescription": "See [Using Variables](https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_variables.html)", |
| 29 |
"title": "Ansible Vars Schema" |
| 30 |
} |