mirror of https://github.com/ansible/ansible.git
[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>pull/74216/head
parent
becf941673
commit
ef554d0378
@ -0,0 +1,3 @@
|
|||||||
|
minor_changes:
|
||||||
|
- playbook - Error if a playbook is an empty list instead of just skipping
|
||||||
|
- playbook - Error if using ``include`` instead of ``import_playbook``
|
@ -0,0 +1 @@
|
|||||||
|
- include: test_includes3.yml
|
@ -1,7 +1,7 @@
|
|||||||
- include: test_includes2.yml parameter1=asdf parameter2=jkl
|
- import_playbook: test_includes2.yml parameter1=asdf parameter2=jkl
|
||||||
|
|
||||||
- include: test_includes3.yml
|
- import_playbook: test_includes3.yml
|
||||||
|
|
||||||
- include: test_include_free.yml
|
- import_playbook: test_include_free.yml
|
||||||
|
|
||||||
- include: test_include_host_pinned.yml
|
- import_playbook: test_include_host_pinned.yml
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
[]
|
Loading…
Reference in New Issue