Skip to content

Commit

Permalink
Merge pull request #89 from idealista/bugfix/88
Browse files Browse the repository at this point in the history
#88 fix password-less root user creation.
  • Loading branch information
santi-eidu authored Nov 15, 2022
2 parents 8e15866 + 0f3106b commit 2b609e2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sudo: required
services:
- docker
install:
- pip install pipenv
- pip install -I pipenv
- pipenv sync
env:
jobs:
Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b609e2

Please sign in to comment.