From 5cfb174f58b6a7ef5a2ead23de2ec2822839891d Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 9 Feb 2016 23:03:18 +0000 Subject: [PATCH] Try moving this to a sperate play --- playbooks/groups/proxies.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/playbooks/groups/proxies.yml b/playbooks/groups/proxies.yml index aaa73b426f..dcd207f9d8 100644 --- a/playbooks/groups/proxies.yml +++ b/playbooks/groups/proxies.yml @@ -88,6 +88,19 @@ - include: /srv/web/infra/ansible/playbooks/include/proxies-haproxy.yml - include: /srv/web/infra/ansible/playbooks/include/proxies-miscellaneous.yml +- name: Make sure we are deployed fully + hosts: proxies-stg:proxies + user: root + gather_facts: False + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - "/srv/private/ansible/vars.yml" + - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml + + handlers: + - include: "{{ handlers }}/restart_services.yml" + tasks: # # If this is an initial deployment, we need the initial ticketkey