Increase Ansible forks to speed up fleet-wide deploys
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- ansible, docker
- Domain
- devops, infrastructure
Research direction
Open docker/ansible.cfg and inspect the [defaults] section, then review how deploy-all-engines invokes Ansible. Set the requested fork limit and verify that a fleet-wide deployment uses the higher concurrency without exceeding the stated VPN bandwidth constraint.
Written by the indexing model from the issue text.
Description
Fleet-wide runs like deploy-all-engines currently process hosts in waves of 5, the Ansible default forks value (docker/ansible.cfg does not override it).
The slowest tasks (docker image pulls on the Pis over 4G links) are fully independent per host, so a 30+ host deploy spends most of its wall-clock time waiting on batching rather than on the orchestrator.
Suggestion: set forks = 15 (or higher) in the [defaults] section of docker/ansible.cfg. The control node only orchestrates SSH sessions, so the extra concurrency is cheap; the practical ceiling is mostly VPN bandwidth.
- Dominant language
- Python
- Stars
- 0
- Forks
- 2
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pyronear/pi-manager-template
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
All issues in pyronear/pi-manager-template
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100