{"id":16761830,"url":"https://github.com/angristan/ansible-mysql","last_synced_at":"2026-04-17T15:07:17.868Z","repository":{"id":153244661,"uuid":"170776004","full_name":"angristan/ansible-mysql","owner":"angristan","description":"Ansible role for MySQL/MariaDB","archived":false,"fork":false,"pushed_at":"2020-04-22T17:24:35.000Z","size":7,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-30T05:39:37.782Z","etag":null,"topics":["ansible","debian","mariadb","mysql","ubuntu"],"latest_commit_sha":null,"homepage":"","language":null,"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/angristan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-02-15T00:10:19.000Z","updated_at":"2023-09-17T06:16:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c7431f7-922f-48ef-9a9a-9c6c9eddb250","html_url":"https://github.com/angristan/ansible-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/angristan/ansible-mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/angristan","download_url":"https://codeload.github.com/angristan/ansible-mysql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/angristan%2Fansible-mysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31933783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","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","debian","mariadb","mysql","ubuntu"],"created_at":"2024-10-13T04:43:33.862Z","updated_at":"2026-04-17T15:07:17.850Z","avatar_url":"https://github.com/angristan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible role for MySQL\n\nThis is a simple role that will install MariaDB and handle users, databases and configuration.\n\nThe role should work on all Debian-based distributions.\n\n## Installation\n\nAdd this to your `requirements.yml`:\n\n```yml\n- src: https://github.com/angristan/ansible-mysql\n```\n\n## Sample playbook\n\n```yaml\n---\n\n- hosts: myhost\n  roles:\n    - name: mysql\n      tags: mysql\n  vars:\n    mysql_databases:\n      - name: blog\n      - name: forum\n    mysql_users:\n      - name: blog\n        password: \"{{ vault_mysql_password_blog }}\"\n        priv: 'blog.*:ALL'\n      - name: forum\n        password: \"{{ vault_mysql_password_forum }}\"\n        priv: 'forum.*:ALL'\n    mysql_options:\n      - {section: mysqld, option: bind-address, value: 0.0.0.0}\n      - {section: mysqld, option: innodb_buffer_pool_size, value: 1G}\n      - {section: mysqld, option: innodb_io_capacity, value: 4000}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Fansible-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangristan%2Fansible-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangristan%2Fansible-mysql/lists"}