Merge "Don't copy the __pycache__ folder" into feature/zuulv3
diff --git a/zuul/executor/server.py b/zuul/executor/server.py
index 0f8cd0f..2302412 100644
--- a/zuul/executor/server.py
+++ b/zuul/executor/server.py
@@ -304,6 +304,8 @@
 def _copy_ansible_files(python_module, target_dir):
         library_path = os.path.dirname(os.path.abspath(python_module.__file__))
         for fn in os.listdir(library_path):
+            if fn == "__pycache__":
+                continue
             full_path = os.path.join(library_path, fn)
             if os.path.isdir(full_path):
                 shutil.copytree(full_path, os.path.join(target_dir, fn))