
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
20 lines
481 B
YAML
20 lines
481 B
YAML
## Main task file for stv3-api role
|
|
# All the users, groups, directories and code are
|
|
# set up by the common role.
|
|
|
|
---
|
|
- name: quincy.conf
|
|
copy: src=quincy.conf dest=/etc/stv3/quincy.conf
|
|
owner=stv3 group=stv3 mode=0644
|
|
notify:
|
|
- restart stv3-api
|
|
|
|
- name: stv3-api-initd
|
|
copy: src=stv3-api.debian.init.d dest=/etc/init.d/stv3-api
|
|
owner=stv3 group=stv3 mode=0755
|
|
|
|
- name: stv3-api
|
|
debug: msg="Starting stv3-api"
|
|
notify:
|
|
- restart stv3-api
|