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