ansiballz - remove deprecated excommunicate command (#70921)

pull/70973/head
Sam Doran 4 years ago committed by GitHub
parent 20a7476064
commit 73a9ad9aea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
minor_changes:
- remove ``excommunicate`` debug command from AnsiballZ

@ -237,10 +237,6 @@ def _ansiballz_main():
basedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'debug_dir') basedir = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'debug_dir')
args_path = os.path.join(basedir, 'args') 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': if command == 'explode':
# transform the ZIPDATA into an exploded directory of code and then # 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 # print the path to the code. This is an easy way for people to look

Loading…
Cancel
Save