forked from evolix/ansible-roles
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: add "check_open_files" plugin
|
||||||
* nagios-nrpe: mark plugins as executable
|
* nagios-nrpe: mark plugins as executable
|
||||||
* mysql-oracle: new role to install MySQL 5.7 with Oracle packages
|
* 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`)
|
* packweb-apache: choose mysql variant (default: `debian`)
|
||||||
* haproxy: install Munin plugins
|
* haproxy: install Munin plugins
|
||||||
* proftpd: use proftpd_accounts list for manage ftp accounts
|
* 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
|
- name: Scripts directory exists
|
||||||
file:
|
file:
|
||||||
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- include_role:
|
||||||
|
name: remount-usr
|
||||||
|
when: (mysql_scripts_dir or general_scripts_dir) | search ("/usr")
|
||||||
|
|
||||||
- name: Ensure scripts directory exists
|
- name: Ensure scripts directory exists
|
||||||
file:
|
file:
|
||||||
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
dest: "{{ mysql_scripts_dir or general_scripts_dir | mandatory }}"
|
||||||
|
|
Loading…
Reference in a new issue