From 5a09b7d6df03777e09a6782737f2fe1913e75edf Mon Sep 17 00:00:00 2001 From: Anton Boritskiy Date: Wed, 21 Aug 2019 18:15:14 +0100 Subject: [PATCH] ADHOC fix (cleaup): auto-cleanup by default enable auto-cleanup by default, to cover the conern highlighted on code-review: Looks good. But would clean up by default. I am not aware of any project that needs to keep the old copies. So I vote for setting to something that makes sense. Instead of using this role and then need to apply this config to get a behavior that should be the default. Author accept the concern and applies corresponding change --- defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 48f5214..e333fe5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -294,6 +294,6 @@ magento_queue_consumers_cron_template: "/usr/bin/php {{ magento_app_root }}/bin/ ## Deletes all installed deployable magento packages except the ## %magento_clones_to_keep% amount of latest ones + all that are newer than ## %magento_clones_cleanup_min_age% -magento_cleanup_old_clones: False +magento_cleanup_old_clones: True magento_clones_to_keep: 5 magento_clones_cleanup_min_age: "1d"