From c0c115317ac3483424a53c3fd41af7926e00aa34 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 14 Apr 2015 16:56:35 -0400 Subject: [PATCH] Add missing imports. They are used later in mkdtmp, needed by action plugins --- v2/ansible/plugins/shell/sh.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/v2/ansible/plugins/shell/sh.py b/v2/ansible/plugins/shell/sh.py index 497d45eace2..628df9bbfbf 100644 --- a/v2/ansible/plugins/shell/sh.py +++ b/v2/ansible/plugins/shell/sh.py @@ -21,6 +21,8 @@ import os import re import pipes import ansible.constants as C +import time +import random _USER_HOME_PATH_RE = re.compile(r'^~[_.A-Za-z0-9][-_.A-Za-z0-9]*$')