Skip to content

Role fails when root password is already set #37

@djjuhasz

Description

@djjuhasz

When running the play against a host with an existing MySQL root password it fails on:

TASK [artefactual.percona : Set the root password] ************************************************************************************
failed: [ubuntu-18.04-atom-test] (item=ubuntu-18) => {"ansible_loop_var": "item", "changed": false, "item": "ubuntu-18", "msg": "unable to connect to database: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [ubuntu-18.04-atom-test] (item=127.0.0.1) => {"ansible_loop_var": "item", "changed": false, "item": "127.0.0.1", "msg": "unable to connect to database: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [ubuntu-18.04-atom-test] (item=::1) => {"ansible_loop_var": "item", "changed": false, "item": "::1", "msg": "unable to connect to database: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}
failed: [ubuntu-18.04-atom-test] (item=localhost) => {"ansible_loop_var": "item", "changed": false, "item": "localhost", "msg": "unable to connect to database: (1045, \"Access denied for user 'root'@'localhost' (using password: NO)\")"}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions