Fix Checks output
+ Move the Check output Change-Id: Iabe6041845261e0780465fa3e3f17aad95cc7544
This commit is contained in:
parent
aa8751cc3f
commit
d48e1aa7d9
@ -1,2 +1,3 @@
|
||||
---
|
||||
# vi:syntax=yaml
|
||||
result_dir: "{{inventory_dir}}/../results"
|
||||
|
@ -67,4 +67,4 @@
|
||||
- name: Run MySQL Tuner script
|
||||
script: mysqltuner.pl --nocolor
|
||||
register: mysql_out
|
||||
|
||||
ignore_errors: yes
|
||||
|
@ -53,3 +53,4 @@
|
||||
- name: Run MySQL Tuner script
|
||||
script: mysqltuner.pl --nocolor
|
||||
register: mysql_out
|
||||
ignore_errors: yes
|
||||
|
@ -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=''
|
||||
|
Loading…
Reference in New Issue
Block a user