From 587a843acdd1d3dfecb66a3b18aae3ac435cf85c Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Mon, 30 Jan 2017 13:48:49 -0500 Subject: [PATCH] Shorten the default control persist path Customer needed a few more characters, this should give a bit more breathingroom --- awx/main/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 4da3da0f59..72348873e5 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -874,7 +874,7 @@ class RunJob(BaseTask): cp_dir = os.path.join(kwargs['private_data_dir'], 'cp') if not os.path.exists(cp_dir): os.mkdir(cp_dir, 0700) - env['ANSIBLE_SSH_CONTROL_PATH'] = os.path.join(cp_dir, 'ansible-ssh-%%h-%%p-%%r') + env['ANSIBLE_SSH_CONTROL_PATH'] = os.path.join(cp_dir, '%%h%%p%%r') # Allow the inventory script to include host variables inline via ['_meta']['hostvars']. env['INVENTORY_HOSTVARS'] = str(True)