set_facts with loops

Hi,

I am trying to compile a list that would use with_fileglob but it seems that set_facts does not work with loops i.e.

`