Fix Checks output

+ Move the Check output

Change-Id: Iabe6041845261e0780465fa3e3f17aad95cc7544
This commit is contained in:
Joe Talerico 2016-03-18 14:14:00 -04:00
parent aa8751cc3f
commit d48e1aa7d9
4 changed files with 7 additions and 5 deletions

View File

@ -1,2 +1,3 @@
---
# vi:syntax=yaml
result_dir: "{{inventory_dir}}/../results"

View File

@ -67,4 +67,4 @@
- name: Run MySQL Tuner script
script: mysqltuner.pl --nocolor
register: mysql_out
ignore_errors: yes

View File

@ -53,3 +53,4 @@
- name: Run MySQL Tuner script
script: mysqltuner.pl --nocolor
register: mysql_out
ignore_errors: yes

View File

@ -39,9 +39,9 @@
become: false
name: Generating bug report
tasks:
- local_action: template src=templates/bug_report.j2 dest=./bug_report.log
- local_action: template src=templates/bug_report.j2 dest={{result_dir}}/bug_report.log
become: false
- local_action: template src=templates/mysql_report.j2 dest=./mysql_report.log
- local_action: template src=templates/mysql_report.j2 dest={{result_dir}}/mysql_report.log
become: false
- replace: dest=mysql_report.log regexp='\[([^\s+]+)' replace=''
- replace: dest=mysql_report.log regexp='\r' replace=''
- replace: dest={{result_dir}}/mysql_report.log regexp='\[([^\s+]+)' replace=''
- replace: dest={{result_dir}}/mysql_report.log regexp='\r' replace=''