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

36 lines
956 B
YAML

## Main task file for stv3-workers role
# All the users, groups, directories and code are
# set up by the common role.
---
- name: yagi.conf
template: src=yagi.conf.j2 dest=/etc/stv3/yagi.conf
owner=stv3 group=stv3 mode=0644
notify:
- restart yagi-event
- name: swift_credentials.conf
template: src=swift_credentials.conf.j2 dest=/etc/stv3/swift_credentials.conf
owner=stv3 group=stv3 mode=0644
notify:
- restart yagi-event
- name: yagi-event-initd
copy: src=yagi-event.debian.init.d dest=/etc/init.d/yagi-event
owner=stv3 group=stv3 mode=0755
- name: pipeline-worker-initd
copy: src=pipeline-worker.debian.init.d
dest=/etc/init.d/pipeline_worker
owner=stv3 group=stv3 mode=0755
- name: yagi-event
debug: msg="Starting yagi-event"
notify:
- restart yagi-event
- name: pipeline-worker
debug: msg="Starting pipeline-worker"
notify:
- restart pipeline-worker