mysql: remount /usr (if needed) before creating scripts directory
This commit is contained in:
parent
61ee8052e5
commit
b81ef36f92
|
@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
|
|||
* nagios-nrpe: add "check_open_files" plugin
|
||||
* nagios-nrpe: mark plugins as executable
|
||||
* mysql-oracle: new role to install MySQL 5.7 with Oracle packages
|
||||
* mysql: remount /usr before creating scripts directory
|
||||
* packweb-apache: choose mysql variant (default: `debian`)
|
||||
* haproxy: install Munin plugins
|
||||
* proftpd: use proftpd_accounts list for manage ftp accounts
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
|
||||
- include_role:
|
||||
name: remount-usr
|
||||
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
|
||||
|
||||
- name: Scripts directory exists
|
||||
file:
|
||||
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
||||
|
@ -35,7 +39,7 @@
|
|||
- libdbd-mysql-perl
|
||||
- libdbi-perl
|
||||
- libterm-readkey-perl
|
||||
- libtime-hires-perl
|
||||
- libtime-hires-perl
|
||||
tags:
|
||||
- packages
|
||||
- mytop
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
|
||||
- include_role:
|
||||
name: remount-usr
|
||||
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
|
||||
|
||||
- name: Ensure scripts directory exists
|
||||
file:
|
||||
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
||||
|
@ -74,7 +78,7 @@
|
|||
# automatic optimizations
|
||||
|
||||
- include_role:
|
||||
name: remount-usr
|
||||
name: remount-usr
|
||||
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
|
||||
|
||||
- name: Optimize script for MySQL
|
||||
|
|
Loading…
Reference in New Issue