diff options
author | Rick Elrod <rick@elrod.me> | 2021-04-09 09:28:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 10:28:24 -0400 |
commit | ef554d03785dff43a03a1121e921eb55ff5c0bb4 (patch) | |
tree | c164d7728efa671af2ea24f21e6977f768f535f6 /test/sanity | |
parent | becf9416736dc911d3411b92f09512b4dae2955c (diff) | |
download | ansible-ef554d03785dff43a03a1121e921eb55ff5c0bb4.tar.gz |
[playbook] error on empty, error on 'include' (remove two deprecations) (#74172)
Change:
- Remove two deprecated features
- We now error if a playbook is an empty list instead of just skipping
- We now error if using 'include' instead of 'import_playbook'
Test Plan:
- Added new tests for new errors
Tickets:
- Fixes #74133
Signed-off-by: Rick Elrod <rick@elrod.me>
* sanity & changelog
Signed-off-by: Rick Elrod <rick@elrod.me>
Diffstat (limited to 'test/sanity')
-rw-r--r-- | test/sanity/ignore.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt index d43bd159fb..85e5991575 100644 --- a/test/sanity/ignore.txt +++ b/test/sanity/ignore.txt @@ -142,7 +142,6 @@ lib/ansible/modules/yum_repository.py validate-modules:doc-default-does-not-matc lib/ansible/modules/yum_repository.py validate-modules:parameter-type-not-in-doc lib/ansible/modules/yum_repository.py validate-modules:undocumented-parameter lib/ansible/parsing/vault/__init__.py pylint:blacklisted-name -lib/ansible/playbook/__init__.py pylint:ansible-deprecated-version lib/ansible/playbook/base.py pylint:blacklisted-name lib/ansible/playbook/collectionsearch.py required-and-default-attributes # https://github.com/ansible/ansible/issues/61460 lib/ansible/playbook/conditional.py pylint:ansible-deprecated-version |