From 5090896d2afa879ca7c62bc303b5af3296407526 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 16 Jun 2014 16:53:04 +0200 Subject: [PATCH] Enable fedmsg on the elections boxes --- playbooks/groups/elections.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/playbooks/groups/elections.yml b/playbooks/groups/elections.yml index 8e5f9e151c..497e5cd434 100644 --- a/playbooks/groups/elections.yml +++ b/playbooks/groups/elections.yml @@ -48,6 +48,23 @@ handlers: - include: "{{ handlers }}/restart_services.yml" +- name: set up fedmsg on elections + hosts: elections;elections-stg + user: root + gather_facts: True + accelerate: "{{ accelerated }}" + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "{{ private }}/vars.yml" + - "{{ vars_path }}/{{ ansible_distribution }}.yml" + + roles: + - fedmsg/base + + handlers: + - include: "{{ handlers }}/restart_services.yml" + - name: deploy elections itself hosts: elections;elections-stg user: root