From 5613eaafcf2784a567a6b778151a18795902f262 Mon Sep 17 00:00:00 2001 From: Santiago Perez Date: Mon, 14 Nov 2022 17:38:42 +0100 Subject: [PATCH 1/2] #88 fix password-less root user creation. --- .travis.yml | 2 +- tasks/users.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f3af3c7..3e69b54 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ sudo: required services: - docker install: - - pip install pipenv + - pip install -I pipenv - pipenv sync env: jobs: diff --git a/tasks/users.yml b/tasks/users.yml index ce33666..500c76c 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -4,8 +4,8 @@ mysql_user: name: "{{ mysql_root_user }}" password: "{{ mysql_root_password }}" - login_user: root - login_host: localhost + login_unix_socket: '/var/run/mysqld/mysqld.sock' + host: 'localhost' when: "installed_mysql.stdout != 'Status: install ok installed'" - name: MySQL | Ensure MySQL users are present From 0f3106bd0627ec1ff9884e87669645e2b77e3638 Mon Sep 17 00:00:00 2001 From: Santiago Perez Date: Mon, 14 Nov 2022 18:17:55 +0100 Subject: [PATCH 2/2] #88 Update CHANGELOG.md --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 446cdc4..725020d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a changelog](https://github.com/olivierlacan/keep-a-changelog). - +## [4.5.1](https://github.com/idealista/mysql_role/tree/4.5.1) +[Full Changelog](https://github.com/idealista/mysql_role/compare/4.5.0...4.5.1) +### Fixed +- [#88](https://github.com/idealista/mysql_role/issues/88) *Fix password-less root user creation* @santi-eidu ## [4.5.0](https://github.com/idealista/mysql_role/tree/4.5.0) [Full Changelog](https://github.com/idealista/mysql_role/compare/4.4.0...4.5.0) ### Added