From 9c622ee19f0c868bbc1aa7d950af873f54cb9fef Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 11 Jul 2014 16:45:52 +0000 Subject: [PATCH] datagrepper role has to come after mod_wsgi. --- playbooks/groups/datagrepper.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/datagrepper.yml b/playbooks/groups/datagrepper.yml index 7e67565da9..ee553d667b 100644 --- a/playbooks/groups/datagrepper.yml +++ b/playbooks/groups/datagrepper.yml @@ -39,7 +39,6 @@ - fedmsg/base - rsyncd - sudo - - datagrepper tasks: - include: "{{ tasks }}/yumrepos.yml" @@ -53,6 +52,23 @@ handlers: - include: "{{ handlers }}/restart_services.yml" +- name: dole out the service-specific config + hosts: datagrepper;datagrepper-stg + user: root + gather_facts: True + accelerate: "{{ accelerated }}" + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "{{ private }}/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + roles: + - datagrepper + + handlers: + - include: "{{ handlers }}/restart_services.yml" + # The gluster work here can be omitted for now. It is used by a feature of # datagrepper that is partially in place, but not yet functional. #