Mitogen known not to work, and while trying to adopt it, it has shown performance degradation comparing to our in-house connection plugin which handles connection to containers through the host as well (if I'm not mistaken). And yes, eventually the only way to reduce runtime with current state of the Ansible is reducing amount of tasks, through basically replacing some roles just with custom modules. But that kinda raises bunch of other concerns/considerations to make. One of which would be, that code will become hardly understandable for anyone, who is not actively involved in a project development. While currently it is enough for operator to know only Ansible, big amount of custom modules will raise entrance bar needed, including contributions. On Wed, Feb 28, 2024, 21:40 Giovanni Tirloni <giovanni.tirloni@vexxhost.com> wrote:
You could experiment with Mitogen [0] but beware that it may not support everything that openstack-ansible uses.
0 - https://mitogen.networkgenomics.com/ansible_detailed.html
Giovanni
________________________________________ From: Gk Gk <ygk.kmr@gmail.com> Sent: Wednesday, February 28, 2024 11:44 To: openstack-discuss Subject: Ansible performance
You don't often get email from ygk.kmr@gmail.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hi,
Is there any way to speedup the playbooks execution of openstack ansible ? Can we remove gather facts for any tasks without affecting the installation ?