Commit b2cc5583 by Feanil Patel

Add restart notifications for tasks that could affect the service.

parent dbcb9f03
......@@ -15,3 +15,6 @@
tags:
- xqueue
- deploy
- name: restart xqueue consumer
service: name=xqueue_consumer state=restarted
......@@ -24,28 +24,40 @@
- xqueue
- name: install a bunch of system packages on which LMS and CMS rely
apt: pkg={{item}} state=present
with_items: xqueue_debian_pkgs
apt: pkg={{','.join(xqueue_debian_pkgs}} state=present
notify:
- restart xqueue
- restart xqueue consumer
tags:
- xqueue
- name: create xqueue application config
template: src=xqueue.env.json.j2 dest=$app_base_dir/env.json mode=0640 owner=www-data group=adm
notify:
- restart xqueue
- restart xqueue consumer
tags:
- xqueue
- name: create xqueue auth file
template: src=xqueue.auth.json.j2 dest=$app_base_dir/auth.json mode=0640 owner=www-data group=adm
notify:
- restart xqueue
- restart xqueue consumer
tags:
- xqueue
- name: creating xqueue upstart script
template: src=xqueue.conf.j2 dest=/etc/init/xqueue.conf mode=0640 owner=root group=adm
notify:
- restart xqueue
tags:
- xqueue
- name: create xqueue consumer upstart script
template: src=xqueue_consumer.conf.j2 dest=/etc/init/xqueue_consumer.conf mode=0640 owner=root group=adm
notify:
- restart xqueue consumer
tags:
- xqueue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment