summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelogs/fragments/ansiballz-remove-excommunicate.yaml2
-rw-r--r--lib/ansible/executor/module_common.py4
2 files changed, 2 insertions, 4 deletions
diff --git a/changelogs/fragments/ansiballz-remove-excommunicate.yaml b/changelogs/fragments/ansiballz-remove-excommunicate.yaml
new file mode 100644
index 0000000000..7184428481
--- /dev/null
+++ b/changelogs/fragments/ansiballz-remove-excommunicate.yaml
@@ -0,0 +1,2 @@
+minor_changes:
+ - remove ``excommunicate`` debug command from AnsiballZ
diff --git a/lib/ansible/executor/module_common.py b/lib/ansible/executor/module_common.py
index 434464baee..1bb97e4738 100644
--- a/lib/ansible/executor/module_common.py
+++ b/lib/ansible/executor/module_common.py
@@ -237,10 +237,6 @@ def _ansiballz_main():
basedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'debug_dir')
args_path = os.path.join(basedir, 'args')
- if command == 'excommunicate':
- print('The excommunicate debug command is deprecated and will be removed in 2.11. Use execute instead.')
- command = 'execute'
-
if command == 'explode':
# transform the ZIPDATA into an exploded directory of code and then
# print the path to the code. This is an easy way for people to look