summaryrefslogtreecommitdiffstats
path: root/examples/playbooks/vars/rule_var_naming_fail.yml
blob: 3870c263df531e80d4b52a638acaefa0505c605a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
CamelCaseIsBad: false # invalid
this_is_valid: # valid because content is a dict, not a variable
  CamelCase: ...
  ALL_CAPS: ...
ALL_CAPS_ARE_BAD_TOO: ... # invalid
"{{ 'test_' }}var": "value" # noqa: schema
CamelCaseButErrorIgnored: true # noqa: var-naming
assert: true # invalid due to being Python reserved keyword
é: true # invalid due to non-ascii character
hosts: true # invalid as being Ansible reserved name
role_name: boo # invalid as being Ansible special magic variable
ansible_facts: {} # special variable that we allow to be written
ansible_python_interpreter: python3 # special variable that we allow to be written