UPDATE:
Here is debug msg from mysql task that looks fine, so I guess something
about mysql_user module may be odd.
ok: [vagrant] => (item=({'webdir': ['woodpecker', 'aligator'], 'user':
>> 'detlic'}, 'aligator')) => {
>> "item": [
>> {
>> "user": "detlic",
>> "webdir": [
>> "woodpecker",
>> "aligator"
>> ]
>> },
>> "aligator"
>> ],
>> "msg": "name=detlic priv=aligator.*:ALL"
>> }
>> ok: [vagrant] => (item=({'webdir': ['woodpecker', 'aligator'], 'user':
>> 'detlic'}, 'woodpecker')) => {
>> "item": [
>> {
>> "user": "detlic",
>> "webdir": [
>> "woodpecker",
>> "aligator"
>> ]
>> },
>> "woodpecker"
>> ],
>> "msg": "name=detlic priv=woodpecker.*:ALL"
>>
>
On Wednesday, April 2, 2014 1:09:32 PM UTC+2, Marko Lisica wrote:
>
> Hello,
>
> I have a task that reads user and db and grants permisions on specific db
> for specific user.
>
> https://gist.github.com/markotitel/9931850
>
> Problem is that only last DB from list is granted for specific user.
>
> I have same task with same vars for folder creation and it works fine.
>
> https://gist.github.com/markotitel/9931867
>
> What am I doing wrong?
>
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/76e4a8e7-c235-4130-8c18-2975ac4996b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.