Closed
Description
Related to #22, if local_action is used with a mysql install ansible_hostname is localhost and not the hostname of the machine and the root password is not set.
Suggestion would be to grab the results of:
command: 'mysql -NBe 'SELECT Host from mysql.user WHERE User = "root" order by (Host="localhost") ASC'
Note that this orders the localhost last so that ansible doesn't lock itself out.
Metadata
Metadata
Assignees
Labels
No labels