Update the elections playbook to include the new elections role
This commit is contained in:
parent
7843f7378e
commit
f3ea75e128
1 changed files with 18 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue