From 8195bd73869e30af71b0364e5117a8afb8ce91e9 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Mon, 20 Jul 2020 16:53:18 -0400 Subject: [PATCH] Remove job pre-creation of content folders --- awx/main/tasks.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 0f667be4c8..318493ddf4 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -2014,12 +2014,6 @@ class RunProjectUpdate(BaseTask): credential = project_update.credential if credential.has_input('ssh_key_data'): private_data['credentials'][credential] = credential.get_input('ssh_key_data', default='') - - # Create dir where collections will live for the job run - if project_update.job_type != 'check' and getattr(self, 'job_private_data_dir'): - for folder_name in ('requirements_collections', 'requirements_roles'): - folder_path = os.path.join(self.job_private_data_dir, folder_name) - os.mkdir(folder_path, stat.S_IREAD | stat.S_IWRITE | stat.S_IEXEC) return private_data def build_passwords(self, project_update, runtime_passwords):