From 932812117f86a5e5f40d937d6de21c4c53bcb038 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Thu, 15 Dec 2016 23:22:26 +0100 Subject: [PATCH] as soon as we will use Ansible >= 2.1, we will improve task "remove root user" with host_all: yes --- mysql/tasks/users.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql/tasks/users.yml b/mysql/tasks/users.yml index 254b8b20..84021156 100644 --- a/mysql/tasks/users.yml +++ b/mysql/tasks/users.yml @@ -44,6 +44,7 @@ - name: remove root user mysql_user: name: root + #host_all: yes host: "{{ item }}" config_file: /root/.my.cnf state: absent