Sandy Walsh 24f118f9ac tox verification and tarball venv packaging support.
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
2014-12-08 13:15:43 -08:00

10 lines
329 B
YAML

# Only restart stv3-worker if we didn't already go from stopped
# to started by the stv3 worker process task
- name: restart yagi-event
service: name=yagi-event state=restarted
when: not yagi-event|changed
- name: restart pipeline-worker
service: name=pipeline_worker state=restarted
when: not pipeline_worker|changed