add supervisord goodies
This commit is contained in:
parent
e6d2e975a6
commit
0df91f6a22
3 changed files with 77 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue