{"id":18469085,"url":"https://github.com/sansible/mysql","last_synced_at":"2026-05-07T11:31:28.026Z","repository":{"id":74439411,"uuid":"67788633","full_name":"sansible/mysql","owner":"sansible","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-20T14:51:28.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":3,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2025-05-07T19:53:07.689Z","etag":null,"topics":["ansible","ansible-role","ansible-roles","mysql"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/sansible.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":"2016-09-09T10:06:52.000Z","updated_at":"2020-07-25T15:54:26.000Z","dependencies_parsed_at":"2023-02-26T18:31:43.338Z","dependency_job_id":null,"html_url":"https://github.com/sansible/mysql","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/sansible/mysql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fmysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fmysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fmysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fmysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sansible","download_url":"https://codeload.github.com/sansible/mysql/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sansible%2Fmysql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32735078,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","ansible-role","ansible-roles","mysql"],"created_at":"2024-11-06T10:08:54.954Z","updated_at":"2026-05-07T11:31:27.993Z","avatar_url":"https://github.com/sansible.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mysql\n\nMaster: [![Build Status](https://travis-ci.org/sansible/mysql.svg?branch=master)](https://travis-ci.org/sansible/mysql)  \nDevelop: [![Build Status](https://travis-ci.org/sansible/mysql.svg?branch=develop)](https://travis-ci.org/sansible/mysql)\n\n* [ansible.cfg](#ansible-cfg)\n* [Installation and Dependencies](#installation-and-dependencies)\n* [Tags](#tags)\n* [Examples](#examples)\n\nThis roles installs the Mysql Server, the setup is very basic and is really only meant\nlocal MySQL testing in VMs.\n\n\n\n\n## ansible.cfg\n\nThis role is designed to work with merge \"hash_behaviour\". Make sure your\nansible.cfg contains these settings\n\n```INI\n[defaults]\nhash_behaviour = merge\n```\n\n\n\n\n## Installation and Dependencies\n\nTo install run `ansible-galaxy install sansible.mysql` or add this to your\n`roles.yml`.\n\n```YAML\n- name: sansible.mysql\n  version: v1.0\n```\n\nand run `ansible-galaxy install -p ./roles -r roles.yml`\n\n\n\n\n## Tags\n\nThis role uses one tag: **build**\n\n* `build` - Installs Mysql and all it's dependencies.\n* `configure` - Configures mysql\n\n\n\n\n## Settings\n\n```YAML\nmysql:\n  # Root user and pass should be stored using ansible-vault\n  root_user: root\n  root_password: P4ssword!\n  version: 5.5\n```\n\n\n\n\n## Examples\n\nTo install:\n\n```YAML\n- name: Install and configure Mysql Server\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.mysql\n```\n\nSetup Mysql with root user and password:\n\n```YAML\n- name: Install and configure Mysql\n  hosts: \"somehost\"\n\n  roles:\n    - role: sansible.mysql\n      sansible_mysql_root_user: different_root_user\n      sansible_mysql_root_password: secure_password\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fmysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsansible%2Fmysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsansible%2Fmysql/lists"}