From 59b205d5d04bf5ee89ab58db8bd65b5ca7336842 Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 17 Nov 2023 12:31:56 +0100 Subject: [PATCH] Decouple role kubespray-defaults from download Avoids doing re-importing the download role on every invocation of kubespray-defaults (and skipping everything). This has a measurable effect on playbook performance. --- .../defaults/main/checksums.yml | 0 .../defaults/main/download.yml} | 0 .../defaults/{main.yaml => main/main.yml} | 0 roles/kubespray-defaults/meta/main.yml | 6 ------ 4 files changed, 6 deletions(-) rename roles/{download => kubespray-defaults}/defaults/main/checksums.yml (100%) rename roles/{download/defaults/main/main.yml => kubespray-defaults/defaults/main/download.yml} (100%) rename roles/kubespray-defaults/defaults/{main.yaml => main/main.yml} (100%) delete mode 100644 roles/kubespray-defaults/meta/main.yml diff --git a/roles/download/defaults/main/checksums.yml b/roles/kubespray-defaults/defaults/main/checksums.yml similarity index 100% rename from roles/download/defaults/main/checksums.yml rename to roles/kubespray-defaults/defaults/main/checksums.yml diff --git a/roles/download/defaults/main/main.yml b/roles/kubespray-defaults/defaults/main/download.yml similarity index 100% rename from roles/download/defaults/main/main.yml rename to roles/kubespray-defaults/defaults/main/download.yml diff --git a/roles/kubespray-defaults/defaults/main.yaml b/roles/kubespray-defaults/defaults/main/main.yml similarity index 100% rename from roles/kubespray-defaults/defaults/main.yaml rename to roles/kubespray-defaults/defaults/main/main.yml diff --git a/roles/kubespray-defaults/meta/main.yml b/roles/kubespray-defaults/meta/main.yml deleted file mode 100644 index 88d70247e5f..00000000000 --- a/roles/kubespray-defaults/meta/main.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -dependencies: - - role: download - skip_downloads: true - tags: - - facts