Update the elections playbook to include the new elections role

This commit is contained in:
Pierre-Yves Chibon 2014-04-08 16:23:30 +02:00
parent 7843f7378e
commit f3ea75e128

View file

@ -47,3 +47,21 @@
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: deploy elections itself
hosts: elections;elections-stg
user: root
gather_facts: True
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- "{{ vars_path }}/{{ ansible_distribution }}.yml"
roles:
- elections
handlers:
- include: "{{ handlers }}/restart_services.yml"