Skip to content

Commit

Permalink
Merge pull request #2 from aisamu/patch-1
Browse files Browse the repository at this point in the history
Wrap `with_dict` arguments with "{{ }}"
  • Loading branch information
yatesr authored Sep 17, 2017
2 parents 2f2a5a6 + 781c14f commit 22ff997
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
state={{item.value.state | default('present')}}
priv="{{item.value.priv | default('*.*:USAGE')}}"
append_privs={{item.value.append_privs | default('no')}}
with_dict: mysql_users | default({})
with_dict: "{{ mysql_users | default({}) }}"

- name: Manage mysql databases
mysql_db: login_user={{mysql_login_user}}
Expand All @@ -76,5 +76,4 @@
name="{{item.key}}"
state={{item.value.state | default('present')}}
target={{item.value.target | default()}}
with_dict: mysql_dbs | default({})

with_dict: "{{ mysql_dbs | default({}) }}"

0 comments on commit 22ff997

Please sign in to comment.