
Also backports some tweaks from ops: - fixes logging.conf - fixes pipeline_worker first time start Change-Id: I6ab1e567594097bc23d857c05d0c1fc84262babf
31 lines
937 B
YAML
31 lines
937 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-{{item.cell}}.conf
|
|
owner=stv3 group=stv3 mode=0644
|
|
with_items: cells
|
|
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
|
|
template: src=yagi-event.debian.init.d.j2 dest=/etc/init.d/yagi-event-{{item.cell}}
|
|
owner=stv3 group=stv3 mode=0755
|
|
with_items: cells
|
|
|
|
- name: pipeline-worker-initd
|
|
template: src=pipeline-worker.debian.init.d.j2
|
|
dest=/etc/init.d/pipeline_worker_{{item}}
|
|
owner=stv3 group=stv3 mode=0755
|
|
with_sequence: count={{num_pipeline_workers}}
|
|
notify:
|
|
- restart pipeline-worker
|