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

Optional dependencies install are executed in parallel and can fail (dpkg lock) #11

Open
timoa opened this issue May 31, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@timoa
Copy link
Owner

timoa commented May 31, 2022

Optional dependencies like Cloudflare Zero Trust or the DevOps dependencies are installed by Ansible with the local-exec provider.

The issue is that Terraform is executing them in parallel since they are optional and can't be linked with depends_onfor example.

If multiple executions of apt or dpkg are run simultaneously, the first execution will lock the execution for the other commands (dpkg lock file).

The sequence of the optional dependencies installation needs to be changed by a single script with args or something else.

@timoa timoa self-assigned this May 31, 2022
@timoa timoa added the bug Something isn't working label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant