summaryrefslogtreecommitdiff
path: root/lib/ansible/playbook/delegatable.py
diff options
context:
space:
mode:
authorcos <cos>2024-04-20 10:08:13 +0200
committercos <cos>2024-04-20 10:12:35 +0200
commit9d0c7ef4dc8d7f3bea3ff70c977a87d154316a26 (patch)
tree7e3797bdd2403982f4a351608d9633c910aadc12 /lib/ansible/playbook/delegatable.py
parentc224b4bf4a6538c3ddc5cb762367c0d53462fa12 (diff)
downloaddebian-ansible-core-upstream/second-failed-recreation-attempt.zip
Recreate upstream branch stateupstream/second-failed-recreation-attempt
Work around that version control is behind the actual package version in trixie. As is obvious from the lacking commits in the salsa repository and also visible on https://tracker.debian.org/pkg/ansible-core with the report from vcswatch stating: VCS repository is not up to date. This commit was generated using `gbp import-dsc`, which should hopefully have made it a squashed representation on the same set of changes on the uploader's unpushed git tree.
Diffstat (limited to 'lib/ansible/playbook/delegatable.py')
-rw-r--r--lib/ansible/playbook/delegatable.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/ansible/playbook/delegatable.py b/lib/ansible/playbook/delegatable.py
deleted file mode 100644
index 2d9d16ea..00000000
--- a/lib/ansible/playbook/delegatable.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# -*- coding: utf-8 -*-
-# Copyright The Ansible project
-# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
-
-from ansible.playbook.attribute import FieldAttribute
-
-
-class Delegatable:
- delegate_to = FieldAttribute(isa='string')
- delegate_facts = FieldAttribute(isa='bool')
-
- def _post_validate_delegate_to(self, attr, value, templar):
- """This method exists just to make it clear that ``Task.post_validate``
- does not template this value, it is set via ``TaskExecutor._calculate_delegate_to``
- """
- return value