Update 'tasks/mysql-conf.yml'
This commit is contained in:
parent
c45a352c37
commit
de26813456
|
@ -13,7 +13,8 @@
|
||||||
file: dest={{ mysql_data_dir }} state=directory owner=mysql group=mysql mode=0700
|
file: dest={{ mysql_data_dir }} state=directory owner=mysql group=mysql mode=0700
|
||||||
|
|
||||||
- name: Copy data to the new directory
|
- 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
|
when: my_data_dir.stat.isdir is not defined
|
||||||
|
|
||||||
- name: Create the log directory
|
- name: Create the log directory
|
||||||
|
|
Loading…
Reference in New Issue