diff --git a/f/ansible-vars.json b/f/ansible-vars.json index a2576df9..1dfc1850 100644 --- a/f/ansible-vars.json +++ b/f/ansible-vars.json @@ -6,6 +6,7 @@ "additionalProperties": false, "patternProperties": { "^(?!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]*$": { + "type": "string" } }, "type": "object" diff --git a/negative_test/playbooks/vars/asterisk.yml b/negative_test/playbooks/vars/asterisk.yml index c884c762..9dd22002 100644 --- a/negative_test/playbooks/vars/asterisk.yml +++ b/negative_test/playbooks/vars/asterisk.yml @@ -1,3 +1,2 @@ --- "*foo": ... # invalid var name -