mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2902 from timhabermaas/fix-grammatical-error
Fix grammatical error in error message
This commit is contained in:
commit
ff3625b0c9
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class PlayBook(object):
|
||||||
utils.plugins.push_basedir(basedir)
|
utils.plugins.push_basedir(basedir)
|
||||||
for play in playbook_data:
|
for play in playbook_data:
|
||||||
if type(play) != dict:
|
if type(play) != dict:
|
||||||
raise errors.AnsibleError("parse error: each play in a playbook must a YAML dictionary (hash), recieved: %s" % play)
|
raise errors.AnsibleError("parse error: each play in a playbook must be a YAML dictionary (hash), recieved: %s" % play)
|
||||||
|
|
||||||
if 'include' in play:
|
if 'include' in play:
|
||||||
# a playbook (list of plays) decided to include some other list of plays
|
# a playbook (list of plays) decided to include some other list of plays
|
||||||
|
|
Loading…
Reference in a new issue