mysql-oracle: fix configuration directory variable
This commit is contained in:
parent
1593773937
commit
fb4a254b9c
|
@ -29,6 +29,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* java8: renamed to java (java8 symlinked to java for backward compatibility)
|
* java8: renamed to java (java8 symlinked to java for backward compatibility)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
* mysql-oracle: fix configuration directory variable
|
||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,12 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- set_fact:
|
||||||
|
mysql_config_directory: "/etc/mysql/mysql.conf.d"
|
||||||
|
|
||||||
- name: "Copy MySQL defaults config file"
|
- name: "Copy MySQL defaults config file"
|
||||||
copy:
|
copy:
|
||||||
src: evolinux-defaults.cnf
|
src: evolinux-defaults.cnf
|
||||||
dest: "/etc/mysql/mysql.conf.d/z-evolinux-defaults.cnf"
|
dest: "{{ mysql_config_directory }}/z-evolinux-defaults.cnf"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
@ -14,7 +17,7 @@
|
||||||
- name: "Copy MySQL custom config file"
|
- name: "Copy MySQL custom config file"
|
||||||
template:
|
template:
|
||||||
src: evolinux-custom.cnf.j2
|
src: evolinux-custom.cnf.j2
|
||||||
dest: "/etc/mysql/mysql.conf.d/zzz-evolinux-custom.cnf"
|
dest: "{{ mysql_config_directory }}/zzz-evolinux-custom.cnf"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
- name: Configure tmpdir
|
- name: Configure tmpdir
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "/etc/mysql/conf.d/zzz-evolinux-custom.cnf"
|
dest: "{{ mysql_config_directory }}/zzz-evolinux-custom.cnf"
|
||||||
section: mysqld
|
section: mysqld
|
||||||
option: tmpdir
|
option: tmpdir
|
||||||
value: "{{ mysql_custom_tmpdir }}"
|
value: "{{ mysql_custom_tmpdir }}"
|
||||||
|
|
Loading…
Reference in a new issue