8bc1b7f2d2
Two different concurrency modes are implemented, and is enabled by setting "concurrency_mode" in the config file to either "project" or "node". When "project" concurrency is enabled, tasks will run in parallel if and only if they do not share the same project id, with no regard to the nodes/hosts that are affected. When "node" concurrency is enabled, a task will run in parallel if and only if the hosts affected by tasks already running does not intersect with the hosts that would be affected by the task in question. If "concurrency_mode" is not specified, no task will start before the previous one has finished. The collision check is based on the output from the "--list-hosts" argument to ansible, which uses the hosts specified in the inventory. Thus, if two different hostnames are used that points to the same node, such as "127.0.0.1" and "localhost", there will be no collision and two tasks may connect to the same node concurrently. If this behaviour is not desired, one should make sure to not include aliases for their hosts in their inventories when enabling concurrency mode. To restrict the amount of parallel tasks that runs at the same time, one can add the "max_parallel_tasks" to the config file. This defaults to a humble 10 if not specified. |
||
---|---|---|
api | ||
cli | ||
db | ||
public | ||
scripts | ||
util | ||
.gitignore | ||
.gitmodules | ||
api-docs.yml | ||
CHANGELOG.md | ||
circle.yml | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
make.sh | ||
README.md |
Contributing
PR's & UX reviews are welcome!
Please follow the contribution guide. Any questions, please open an issue.
License
MIT License
Copyright (c) 2016 Castaway Consulting LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.