Setup accelerate mode beforehand.
This commit is contained in:
parent
1a7046f645
commit
ca358cf22b
2 changed files with 8 additions and 1 deletions
|
@ -7,7 +7,6 @@
|
||||||
hosts: nuancier;nuancier-stg
|
hosts: nuancier;nuancier-stg
|
||||||
user: root
|
user: root
|
||||||
gather_facts: False
|
gather_facts: False
|
||||||
accelerate: True
|
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
@ -16,6 +15,7 @@
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: $tasks/virt_instance_create.yml
|
- include: $tasks/virt_instance_create.yml
|
||||||
|
- include: $tasks/accelerate_prep.yml
|
||||||
|
|
||||||
handlers:
|
handlers:
|
||||||
- include: $handlers/restart_services.yml
|
- include: $handlers/restart_services.yml
|
||||||
|
|
7
tasks/accelerate_prep.yml
Normal file
7
tasks/accelerate_prep.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: install needed packages for accelerated mode
|
||||||
|
yum: pkg=$item state=installed
|
||||||
|
with_items:
|
||||||
|
- python-keyczar
|
||||||
|
tags:
|
||||||
|
- packages
|
Loading…
Add table
Add a link
Reference in a new issue