IbrahimMohammad.mysql_secure_installation
mysql_secure_installation
mysql_secure_installation is Ansible role to improve MySQL installation security. it do what mysql_secure_installation script do.
Requirements
MariaDB/MySQL installation on the target machine.
Role Variables
---
# defaults file for ansible-role-mysql_secure_installation (msi)
# msi-mysql_root_pass >> if you already set the root password then assign it
# to this variable. by default there is no password.
msi_mysql_root_pass: ''
# msi-new_mysql_root_pass >> required. this will be the new mysql root password.
# if you don't want to change your old password then you can assign your old
# password to it too.
# oh and don't forget, always use ansible vault for sensitive data :)
#msi_new_mysql_root_pass: 'your_new_pass'
Example Playbook
---
- hosts: dbservers
roles:
- { role: IbrahimMohammad.mysql_secure_installation,
msi_new_mysql_root_pass: 'pass'
}
License
GPLv3
About
Ansible role to improve MariaDB/MySQL installation security. It do what mysql_secure_installation script do.
Install
ansible-galaxy install IbrahimMohammad.mysql_secure_installationLicense
Unknown
Downloads
454
Owner
