add supervisord goodies

This commit is contained in:
Seth Vidal 2013-06-04 20:16:25 +00:00
parent e6d2e975a6
commit 0df91f6a22
3 changed files with 77 additions and 2 deletions

View file

@ -1,7 +1,5 @@
---
# tasklist for setting up the mirrorlist app components
# install supervisor
# install mirrormanager
- name: install supervisor and mirrormanager
yum: pkg=$item state=installed
with_items:
@ -28,3 +26,13 @@
# selinux policy - mirrormanager - put in place - for the sockfile
#
# setup and configure supervisord
- name: /etc/supervisord.conf
copy: src=$files/mirrorlist/supervisord.conf dest=/etc/supervisord.conf mode=0644
notify:
- restart supervisord
- name: enable supervisord
service: name=supervisord state=started enabled=yes