From 332001a635049b0e016e054205e4c989dcb35639 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Tue, 13 Dec 2016 15:11:31 +1100
Subject: [PATCH] fix the yaml formating, I suspect ansible became stricter on
 this this receently

Former-commit-id: 77819ea3fb2f50eb703f70f2c1a8b5fef6af5be4
---
 roles/mysql/tasks/mysql_server.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/mysql/tasks/mysql_server.yml b/roles/mysql/tasks/mysql_server.yml
index 68806bda..6a745296 100644
--- a/roles/mysql/tasks/mysql_server.yml
+++ b/roles/mysql/tasks/mysql_server.yml
@@ -37,5 +37,5 @@
 
 - name: "Giving priviliges to user"
   mysql_user: name={{ mysql_user_name }} host={{ hostvars[item].ansible_fqdn }} password={{ mysql_user_password }} login_user=root login_password={{ mysql_root_password }} priv={{ mysql_user_db_name }}.*:ALL state=present
-  with_items: mysql_user_hosts_group
+  with_items: "{{ mysql_user_hosts_group }}"
   when: mysql_user_hosts_group is defined
-- 
GitLab