From 2452d4a223b5645f0cad0fa85dd4b4514c8de6c0 Mon Sep 17 00:00:00 2001 From: denglei <244979152@qq.com> Date: Tue, 2 Sep 2014 15:39:47 +0800 Subject: [PATCH] solve tpcc result log dir issue --- mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml b/mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml index b73692c..04498c3 100644 --- a/mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml +++ b/mysql_tpcc_install/roles/mysql_tpcc_install/tasks/install.yml @@ -28,6 +28,10 @@ - add_fkey_idx.sql when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6 tags: Only_install_tpcc + - name: Create Test Result Dir In Redhat Client + file: dest={{ tpcc_dir }} state=directory + when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6 + tags: Only_install_tpcc - name: Create Tpcc Mysql Test Data To Redhat Client shell: /tmp/tpcc-mysql/tpcc_load {{ ansible_default_ipv4.address }} {{ tpcc_database_name }} {{ mysql_database_user }} {{ mysql_passwd }} {{ warehouse }} when: ansible_os_family == "RedHat" and ansible_distribution_version|int >=6