You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ansible-lint playbooks/test.yml --fixWARNING Listing 1 violation(s) that are fatalschema[playbook]: $[0].order 'inventory' is not one of ['default', 'sorted', 'reverse_sorted', 'reverse_inventory', 'shuffle']playbooks/test.yml:1 Returned errors will not include exact line numbers, but they will mentionthe schema name being used as a tag, like ``schema[playbook]``,``schema[tasks]``.This rule is not skippable and stops further processing of the file.If incorrect schema was picked, you might want to either:* move the file to standard location, so its file is detected correctly.* use ``kinds:`` option in linter config to help it pick correct file type.Read documentation for instructions on how to ignore specific rule violations.Modified 1 files. Rule Violation Summary count tag profile rule associated tags 1 schema[playbook] basic core Failed: 1 failure(s), 0 warning(s) on 1 files. Last profile that met the validation criteria was 'min'.
The text was updated successfully, but these errors were encountered:
Summary
If you use 'inventory' as playbook order value you get the following error:
See: https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_strategies.html#ordering-execution-based-on-inventory
Workaround: use default instead of inventory
Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
The text was updated successfully, but these errors were encountered: