From ca358cf22b1761c4b019cff4fac4f24c3f89e060 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 26 Sep 2013 15:28:45 +0000 Subject: [PATCH] Setup accelerate mode beforehand. --- playbooks/groups/nuancier.yml | 2 +- tasks/accelerate_prep.yml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 tasks/accelerate_prep.yml diff --git a/playbooks/groups/nuancier.yml b/playbooks/groups/nuancier.yml index 1e93e97a85..7c3d92d055 100644 --- a/playbooks/groups/nuancier.yml +++ b/playbooks/groups/nuancier.yml @@ -7,7 +7,6 @@ hosts: nuancier;nuancier-stg user: root gather_facts: False - accelerate: True vars_files: - /srv/web/infra/ansible/vars/global.yml @@ -16,6 +15,7 @@ tasks: - include: $tasks/virt_instance_create.yml + - include: $tasks/accelerate_prep.yml handlers: - include: $handlers/restart_services.yml diff --git a/tasks/accelerate_prep.yml b/tasks/accelerate_prep.yml new file mode 100644 index 0000000000..f82d3cac61 --- /dev/null +++ b/tasks/accelerate_prep.yml @@ -0,0 +1,7 @@ +--- +- name: install needed packages for accelerated mode + yum: pkg=$item state=installed + with_items: + - python-keyczar + tags: + - packages