{"id":21400291,"url":"https://github.com/oefenweb/ansible-mariadb-client","last_synced_at":"2026-04-18T01:01:16.920Z","repository":{"id":49169891,"uuid":"130210820","full_name":"Oefenweb/ansible-mariadb-client","owner":"Oefenweb","description":"Ansible role to set up mariadb-server client in Debian-like systems","archived":false,"fork":false,"pushed_at":"2023-11-02T11:04:44.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-06T00:01:53.868Z","etag":null,"topics":["ansible","database","debian","mariadb","mariadb-client","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-19T12:16:03.000Z","updated_at":"2022-06-18T04:12:06.000Z","dependencies_parsed_at":"2023-02-10T16:05:18.071Z","dependency_job_id":"16bf6cdd-0f07-4c12-8bc3-a76f6dc4e05b","html_url":"https://github.com/Oefenweb/ansible-mariadb-client","commit_stats":null,"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"purl":"pkg:github/Oefenweb/ansible-mariadb-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-mariadb-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-mariadb-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-mariadb-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-mariadb-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-mariadb-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-mariadb-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31952206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","database","debian","mariadb","mariadb-client","ubuntu"],"created_at":"2024-11-22T15:20:41.245Z","updated_at":"2026-04-18T01:01:16.903Z","avatar_url":"https://github.com/Oefenweb.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"## mariadb-client\n\n[![CI](https://github.com/Oefenweb/ansible-mariadb-client/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-mariadb-client/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-mariadb--client-blue.svg)](https://galaxy.ansible.com/Oefenweb/mariadb_client)\n\nSet up a [mariadb-server](https://mariadb.com/products/technology/server) client in Debian-like systems.\n\n#### Requirements\n\nNone\n\n#### Variables\n\n* `mariadb_client_install`: [default: `[]`]: Additional packages to install\n\n* `mariadb_client_my_cnf_files`: [default: `[]`]: `.my.cnf` files to configure\n* `mariadb_client_my_cnf_files.{n}.dest`: [optional, default: `~owner/.my.cnf'`]: The remote path of the file to copy\n* `mariadb_client_my_cnf_files.{n}.owner`: [required]: The name of the user that should own the file\n* `mariadb_client_my_cnf_files.{n}.group`: [optional, default: `owner`]: The name of the group that should own the file\n* `mariadb_client_my_cnf_files.{n}.mode`: [optional, default: `0600`]: The mode of the file\n* `mariadb_client_my_cnf_files.{n}.login_host`: [optional, default: `localhost`]: The host running the server\n* `mariadb_client_my_cnf_files.{n}.login_port`: [optional, default: `3306`]: The port of the server\n* `mariadb_client_my_cnf_files.{n}.login_user`: [optional, default: `owner`]: The username used to authenticate with\n* `mariadb_client_my_cnf_files.{n}.login_password`: [required]: The password used to authenticate with\n\n* `mariadb_client_my_cnf_files.{n}.ssl`: [optional]: Whether or not to use SSL when connection (deprecated)\n* `mariadb_client_my_cnf_files.{n}.ssl_mode`: [optional]: Specifies the desired security state of the connection to the server (e.g. `VERIFY_CA`)\n\n* `mariadb_client_my_cnf_files.{n}.ssl_ca`: [optional, default: `ca-cert`]: The identifier of the ca certificate file in ssl map\n* `mariadb_client_my_cnf_files.{n}.ssl_cert`: [optional, default: `client-cert`]: The identifier of the ssl certificate file in ssl map\n* `mariadb_client_my_cnf_files.{n}.ssl_key`: [optional, default: `client-key`]: The identifier of the ssl key file in ssl map\n\n* `mariadb_client_ssl_map`: [default: `{}`]: SSL declarations\n* `mariadb_client_ssl_map.key`: [required]: The identifier of the file (e.g. `ca-cert`)\n* `mariadb_client_ssl_map.key.src`: [required]: The local path of the file to copy, can be absolute or relative (e.g. `../../../files/mariadb-client/etc/mysql/ca-cert.pem`)\n* `mariadb_client_ssl_map.key.dest`: [required]: The remote path of the file to copy (e.g. `/etc/mysql/ca-cert.pem`)\n* `mariadb_client_ssl_map.key.owner`: [optional, default `root`]: The name of the user that should own the file\n* `mariadb_client_ssl_map.key.group`: [optional, default `mysql`]:The name of the group that should own the file\n* `mariadb_client_ssl_map.key.mode`: [optional, default `0640`]: The mode of the file\n\n## Dependencies\n\nNone\n\n## Recommended\n\n* `mariadb-server` ([see](https://github.com/Oefenweb/ansible-mariadb-server))\n\n#### Example(s)\n\n##### Simple\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.mariadb-client\n```\n\n##### With .my.cnf file(s)\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.mariadb-client\n  vars:\n    mariadb_client_my_cnf_files:\n      - dest: '~root/.my.cnf'\n        owner: root\n        ansible.builtin.group: root\n        mode: '0600'\n        login_host: localhost\n        login_port: 3306\n        login_user: root\n        login_password: 'pw4Root'\n\n      - owner: vagrant\n        login_password: 'pw4Vagrant'\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-mariadb-client/issues)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-mariadb-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-mariadb-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-mariadb-client/lists"}