Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove vm_hostvars variable #61

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Remove vm_hostvars variable #61

wants to merge 1 commit into from

Conversation

NightTsarina
Copy link
Member

This seemingly innocent variable was responsible for enormous increases in CPU usage as each time it is referenced Ansible was expanding all the VM host variables.

In particular, this expansion explosion was trigered whenever Ansible needed to resolve a guest host's connection strings (i.e. on every step!), and some of these variables include encrypted secrets that require calling gpg each time.

This seemingly innocent variable was responsible for enormous increases in CPU
usage as each time it is referenced Ansible was expanding all the VM host
variables.

In particular, this expansion explosion was trigered whenever Ansible needed to
resolve a guest host's connection strings (i.e. on every step!), and some of
these variables include encrypted secrets that require calling `gpg` each time.
@NightTsarina NightTsarina requested review from dato, sim6 and dunetna March 25, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant