Move MySQL Tuner script download to checks playbook.
Change-Id: Ia36b96658b104ed3096053357aecd8227f400c17
This commit is contained in:
parent
2b89b783d0
commit
8aeb443df9
@ -1,3 +1,5 @@
|
||||
---
|
||||
# vi:syntax=yaml
|
||||
result_dir: "{{inventory_dir}}/../results"
|
||||
|
||||
mysql_tuner_script: https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
|
||||
|
@ -3,7 +3,17 @@
|
||||
# Playbook to check OSP install for common performance tuning issues
|
||||
#
|
||||
|
||||
- hosts: localhost
|
||||
name: Get MySQL Tuner Script
|
||||
gather_facts: false
|
||||
vars:
|
||||
ansible_connection: local
|
||||
tasks:
|
||||
- name: Get MySQL Tuner Script
|
||||
get_url: url={{mysql_tuner_script}} dest={{playbook_dir}}
|
||||
|
||||
- hosts: undercloud
|
||||
name: Checking Undercloud for common Performance Issues
|
||||
remote_user: stack
|
||||
roles:
|
||||
- common
|
||||
@ -13,6 +23,7 @@
|
||||
- nova
|
||||
|
||||
- hosts: controller
|
||||
name: Checking Controller Nodes for common Performance Issues
|
||||
remote_user: heat-admin
|
||||
roles:
|
||||
- common
|
||||
@ -22,6 +33,7 @@
|
||||
- nova
|
||||
|
||||
- hosts: compute
|
||||
name: Checking Compute Nodes for common Performance Issues
|
||||
remote_user: heat-admin
|
||||
roles:
|
||||
- common
|
||||
@ -29,6 +41,7 @@
|
||||
- nova
|
||||
|
||||
- hosts: ceph
|
||||
name: Checking Ceph Hosts for common Performance Issues
|
||||
remote_user: heat-admin
|
||||
roles:
|
||||
- common
|
||||
|
@ -64,12 +64,6 @@
|
||||
- name: Install PerfKitBenchmarker Openstack requirements into perfkit-venv
|
||||
pip: requirements={{ perfkit_venv }}/PerfKitBenchmarker/requirements-openstack.txt virtualenv={{ perfkit_venv }}
|
||||
|
||||
- name: Install MySQl Tuner
|
||||
git: repo=https://github.com/major/MySQLTuner-perl.git dest={{ home_dir }}/MySQLTuner-perl
|
||||
|
||||
- name: Copy the MYSQl Tuner script into browbeat
|
||||
command: cp {{ home_dir }}/MySQLTuner-perl/mysqltuner.pl {{ browbeat_path }}/ansible/check
|
||||
|
||||
- name: Install functools32 into rally-venv
|
||||
pip: name=functools32 virtualenv={{ rally_venv }}
|
||||
become: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user