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
|
# vi:syntax=yaml
|
||||||
result_dir: "{{inventory_dir}}/../results"
|
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
|
# 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
|
- hosts: undercloud
|
||||||
|
name: Checking Undercloud for common Performance Issues
|
||||||
remote_user: stack
|
remote_user: stack
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
@ -13,6 +23,7 @@
|
|||||||
- nova
|
- nova
|
||||||
|
|
||||||
- hosts: controller
|
- hosts: controller
|
||||||
|
name: Checking Controller Nodes for common Performance Issues
|
||||||
remote_user: heat-admin
|
remote_user: heat-admin
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
@ -22,6 +33,7 @@
|
|||||||
- nova
|
- nova
|
||||||
|
|
||||||
- hosts: compute
|
- hosts: compute
|
||||||
|
name: Checking Compute Nodes for common Performance Issues
|
||||||
remote_user: heat-admin
|
remote_user: heat-admin
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
@ -29,6 +41,7 @@
|
|||||||
- nova
|
- nova
|
||||||
|
|
||||||
- hosts: ceph
|
- hosts: ceph
|
||||||
|
name: Checking Ceph Hosts for common Performance Issues
|
||||||
remote_user: heat-admin
|
remote_user: heat-admin
|
||||||
roles:
|
roles:
|
||||||
- common
|
- common
|
||||||
|
@ -64,12 +64,6 @@
|
|||||||
- name: Install PerfKitBenchmarker Openstack requirements into perfkit-venv
|
- name: Install PerfKitBenchmarker Openstack requirements into perfkit-venv
|
||||||
pip: requirements={{ perfkit_venv }}/PerfKitBenchmarker/requirements-openstack.txt virtualenv={{ 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
|
- name: Install functools32 into rally-venv
|
||||||
pip: name=functools32 virtualenv={{ rally_venv }}
|
pip: name=functools32 virtualenv={{ rally_venv }}
|
||||||
become: true
|
become: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user