From ebfa95b696971c0c77bce651001c430f41133f0f Mon Sep 17 00:00:00 2001 From: Tommaso Piccioli Date: Thu, 14 Oct 2021 18:01:23 +0200 Subject: [PATCH] Update 'tasks/mysql-conf.yml' --- tasks/mysql-conf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/mysql-conf.yml b/tasks/mysql-conf.yml index 4fd7bd4..5e4a7e7 100644 --- a/tasks/mysql-conf.yml +++ b/tasks/mysql-conf.yml @@ -13,7 +13,7 @@ file: dest={{ mysql_data_dir }} state=directory owner=mysql group=mysql mode=0700 - name: Copy data to the new directory - synchronize: src=/var/lib/mysql dest={{ mysql_data_dir }} delegate_to={{ inventory_hostname }} + synchronize: src=/var/lib/mysql/ dest={{ mysql_data_dir }} delegate_to={{ inventory_hostname }} when: my_data_dir.stat.isdir is not defined - name: Create the log directory