From 7bc1e37028906a0fa9accc40cb5c07517f519e46 Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Thu, 1 Jun 2023 11:26:03 -0400 Subject: [PATCH] ansible: Change default strategy to mitogen_linear The default ansible strategy if not set is 'linear'. Using mitogen_linear results in a significant speed up in runs. For example, when running the site.yml playbook against ci-node-el[7-9]-arm64-01 with no other changes between the runs, the run time goes from ~2 minutes to ~30 seconds. Change-Id: I47952c2a7d73607248aad71cc6670984aef3804b --- automation/ansible/ansible.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automation/ansible/ansible.cfg b/automation/ansible/ansible.cfg index da6cce2..d9a05dc 100644 --- a/automation/ansible/ansible.cfg +++ b/automation/ansible/ansible.cfg @@ -205,7 +205,7 @@ remote_user = root # by default, ansible will use the 'linear' strategy but you may want to try # another one -#strategy = free +strategy = mitogen_linear # by default callbacks are not loaded for /bin/ansible, enable this if you # want, for example, a notification or logging callback to also apply to -- 2.34.1