diff --git a/lib/ansible/runner/action_plugins/async.py b/lib/ansible/runner/action_plugins/async.py index afc72baa7b..73b1dd3f7b 100644 --- a/lib/ansible/runner/action_plugins/async.py +++ b/lib/ansible/runner/action_plugins/async.py @@ -15,18 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . -import os -import pwd -import random -import traceback -import tempfile - -import ansible.constants as C -from ansible import utils -from ansible import errors -from ansible import module_common -from ansible.runner.return_data import ReturnData - class ActionModule(object): def __init__(self, runner): diff --git a/lib/ansible/runner/action_plugins/copy.py b/lib/ansible/runner/action_plugins/copy.py index 9ec2ee8484..437781c371 100644 --- a/lib/ansible/runner/action_plugins/copy.py +++ b/lib/ansible/runner/action_plugins/copy.py @@ -16,15 +16,9 @@ # along with Ansible. If not, see . import os -import pwd -import random -import traceback -import tempfile -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object): diff --git a/lib/ansible/runner/action_plugins/script.py b/lib/ansible/runner/action_plugins/script.py index db694f829a..6909b3708f 100644 --- a/lib/ansible/runner/action_plugins/script.py +++ b/lib/ansible/runner/action_plugins/script.py @@ -16,14 +16,10 @@ # along with Ansible. If not, see . import os -import pwd -import traceback import shlex -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object): diff --git a/lib/ansible/runner/action_plugins/template.py b/lib/ansible/runner/action_plugins/template.py index 80a7c4e782..c08ea0821a 100644 --- a/lib/ansible/runner/action_plugins/template.py +++ b/lib/ansible/runner/action_plugins/template.py @@ -16,15 +16,9 @@ # along with Ansible. If not, see . import os -import pwd -import random -import traceback -import tempfile -import ansible.constants as C from ansible import utils from ansible import errors -from ansible import module_common from ansible.runner.return_data import ReturnData class ActionModule(object):