HauptJ.mariadb
ansible-role-mariadb
Ansible role to install MariaDB on Enterprise Linux 7 / CentOS7 and create or import a database.
To import a database, place it in the databases
folder. You can use an uncompressed .sql
file or a compressed .bz2
archive. See: https://docs.ansible.com/ansible/latest/modules/mysql_db_module.html
Requirements
- Ansible 2.3 or higher
- CentOS 7
Installation
- Fork this repository
- Use the command:
git submodule add <git host> roles/ansible-role-mariadb
Ansible Galaxy: HauptJ.mariadb
Variables
MariaDB
Name | Default | Description |
---|---|---|
mariadb_root_password | password | Password for the root user |
mariadb_open_port | 3306 | Network port for MariaDB |
mariadb_firewalld_allow | false | Allow MariaDB through firewalld |
mariadb_set_root_password | true | Set MariaDB root user password |
mariadb_new_db | true | Create a new database or use an existing one |
mariadb_db_name | testWP | Name of the database |
mariadb_db_user | testWPuser | Name of the database user |
mariadb_db_user_password | 1337TestPass | Password for the database user |
mariadb_db_file_name | testWP.sql | Name of the file for the database to import |
Informazioni sul progetto
Installs MariaDB and either creates or imports a database
Installa
ansible-galaxy install HauptJ.mariadb
Licenza
apache-2.0
Download
135
Proprietario