Skip to content

Commit

Permalink
All include deprecations bumped to 2.12. Fixes #45037
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel committed Sep 5, 2018
1 parent 5038cec commit 7fea892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ansible/playbook/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def _load_playbook_data(self, file_name, variable_manager, vars=None):

if any(action in entry for action in ('import_playbook', 'include')):
if 'include' in entry:
display.deprecated("'include' for playbook includes. You should use 'import_playbook' instead", version="2.8")
display.deprecated("'include' for playbook includes. You should use 'import_playbook' instead", version="2.12")
pb = PlaybookInclude.load(entry, basedir=self._basedir, variable_manager=variable_manager, loader=self._loader)
if pb is not None:
self._entries.extend(pb._entries)
Expand Down

0 comments on commit 7fea892

Please sign in to comment.