From 25d246b1af2e051daf4f4b4a7f14a54c958a877d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Fri, 20 Sep 2013 15:04:57 +0000 Subject: [PATCH] Run the nuancier role at the end, once everything is in place --- playbooks/groups/nuancier.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/playbooks/groups/nuancier.yml b/playbooks/groups/nuancier.yml index 8947a9d0c6..b088c1be60 100644 --- a/playbooks/groups/nuancier.yml +++ b/playbooks/groups/nuancier.yml @@ -37,7 +37,6 @@ - /srv/web/infra/ansible/roles/denyhosts - /srv/web/infra/ansible/roles/nagios_client - /srv/web/infra/ansible/roles/fas_client - - /srv/web/infra/ansible/roles/nuancier tasks: - include: $tasks/hosts.yml @@ -53,3 +52,17 @@ handlers: - include: $handlers/restart_services.yml + +- name: deploy nuancier itself + # TODO -- add the nuancier production group when its ready + hosts: nuancier-stg + user: root + gather_facts: True + + vars_files: + - /srv/web/infra/ansible/vars/global.yml + - ${private}/vars.yml + - ${vars}/${ansible_distribution}.yml + + roles: + - /srv/web/infra/ansible/roles/nuancier