
Optionally run tox on each git repo (-t) and package resultant venv into a tarball on success (-p) tarball filename includes the short-sha1 of the repo. If tarball is created, screen is not run. if the -d option is given the cmdline incantation for kicking off the ansible deploy playbook will be provided. Later, this could be automated. A mysql role playbook is also included for single node db. stv3-api role is also included. Change-Id: Ib9f97a0035c228d4a163d7794ab7ce60043d572b
22 lines
465 B
YAML
22 lines
465 B
YAML
## Main entry point for the StackTach.v3 worker deployments
|
|
##
|
|
## Assumes an inventory value that has nodes or groups that start with
|
|
## "stv3-workers"
|
|
##
|
|
## Execution would look like:
|
|
## ansible-playbook workers.yaml -vv
|
|
##
|
|
## Assumes a stv3-db setup already exists.
|
|
---
|
|
- name: StackTach Workers Configurations
|
|
hosts: stv3-workers
|
|
remote_user: stacktach
|
|
sudo: yes
|
|
|
|
vars_files:
|
|
- ["vars/local_settings.yaml"]
|
|
|
|
roles:
|
|
- common
|
|
- stv3-workers
|