mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Refine error message about invalid ops since people forget to indent tasks fairly often.
This commit is contained in:
parent
0e5b0a2e97
commit
0fad9575e9
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class Play(object):
|
|||
|
||||
for x in ds.keys():
|
||||
if not x in Play.VALID_KEYS:
|
||||
raise errors.AnsibleError("%s is not a legal parameter in an Ansible Playbook" % x)
|
||||
raise errors.AnsibleError("%s is not a legal parameter at this level in an Ansible Playbook" % x)
|
||||
|
||||
# allow all playbook keys to be set by --extra-vars
|
||||
self.vars = ds.get('vars', {})
|
||||
|
|
Loading…
Reference in a new issue