summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
authorMartin Krizek <martin.krizek@gmail.com>2023-04-25 09:33:17 +0200
committerGitHub <noreply@github.com>2023-04-25 09:33:17 +0200
commita2be8915ded56eef2f88ea9658d3aed237846251 (patch)
tree84fbc5ff39cf76f7095687b8b190e5c98715e380 /lib/ansible
parent36df60e2265f417d6211f30b10691dc8ae685d2c (diff)
downloadansible-a2be8915ded56eef2f88ea9658d3aed237846251.tar.gz
PlayIterator: remove deprecated methods (#80437)
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/executor/play_iterator.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/ansible/executor/play_iterator.py b/lib/ansible/executor/play_iterator.py
index f36be5af52..820db017fe 100644
--- a/lib/ansible/executor/play_iterator.py
+++ b/lib/ansible/executor/play_iterator.py
@@ -241,13 +241,6 @@ class PlayIterator:
return self._host_states[host.name].copy()
- def cache_block_tasks(self, block):
- display.deprecated(
- 'PlayIterator.cache_block_tasks is now noop due to the changes '
- 'in the way tasks are cached and is deprecated.',
- version=2.16
- )
-
def get_next_task_for_host(self, host, peek=False):
display.debug("getting the next task for host %s" % host.name)
@@ -584,14 +577,6 @@ class PlayIterator:
return self.is_any_block_rescuing(state.always_child_state)
return False
- def get_original_task(self, host, task):
- display.deprecated(
- 'PlayIterator.get_original_task is now noop due to the changes '
- 'in the way tasks are cached and is deprecated.',
- version=2.16
- )
- return (None, None)
-
def _insert_tasks_into_state(self, state, task_list):
# if we've failed at all, or if the task list is empty, just return the current state
if (state.fail_state != FailedStates.NONE and state.run_state == IteratingStates.TASKS) or not task_list: