618cdcdd63
Yagi-workers are now created per cell. One rabbit per cell. Also renamed the common role to stv3-common to prevent conflicts with other playbooks. Take note of ansible/roles/stv3-workers/defaults/main.yaml to see an example of the expected format of the calling facts file. Each entry in this list-of-dictionaries represents a rabbit server and Swift container for that cell. Also, multiple pipeline_workers are created based on the value of num_pipeline_workers (defaults to 2). This is so a machine can better utilize multi-core architectures. Change-Id: I09c4d364878493546d6e23e019f01f5f4f38c37c
22 lines
449 B
YAML
22 lines
449 B
YAML
## Main entry point for the StackTach.v3 worker deployments
|
|
##
|
|
## Assumes an inventory value that has nodes or groups that start with
|
|
## "stv3-api"
|
|
##
|
|
## Execution would look like:
|
|
## ansible-playbook api.yaml -vv
|
|
##
|
|
## Assumes a stv3-db setup already exists.
|
|
---
|
|
- name: StackTach API Configuration
|
|
hosts: stv3-api
|
|
remote_user: stacktach
|
|
sudo: yes
|
|
|
|
vars_files:
|
|
- ["vars/local_settings.yaml"]
|
|
|
|
roles:
|
|
- stv3-common
|
|
- stv3-api
|