diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2015-07-12 11:31:18 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-07-12 11:31:18 +0200 |
commit | b752a80935941eb07e7700d8cbab567d1a3f39c4 (patch) | |
tree | 3c3e907dc5445ec519bf8fc5daaf1ef12379eb69 /roles/common-SQL | |
parent | 99682f43e687552c0c536ed044afb7331d90a01d (diff) |
Rename 'mysql_user' plugin to 'mysql_user2' to avoid name collisions.
Diffstat (limited to 'roles/common-SQL')
-rw-r--r-- | roles/common-SQL/tasks/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/common-SQL/tasks/main.yml b/roles/common-SQL/tasks/main.yml index 9541be8..9064a68 100644 --- a/roles/common-SQL/tasks/main.yml +++ b/roles/common-SQL/tasks/main.yml @@ -28,12 +28,12 @@ # XXX Dirty fix for #742046 - name: Force root to use UNIX permissions - mysql_user: name=root password= auth_plugin=auth_socket - state=present + mysql_user2: name=root password= auth_plugin=auth_socket + state=present - name: Disallow anonymous and TCP/IP root login - mysql_user: name={{ item.name|default('') }} host={{ item.host }} - state=absent + mysql_user2: name={{ item.name|default('') }} host={{ item.host }} + state=absent with_items: - { host: '{{ inventory_hostname_short }}' } - { host: 'localhost' } |