Flatpaks aren't available when using ansible

Hello, I created a simple playbook for my Fedora workstation.

`
TASK [Flatpak - Installing Cozy] ***********************************************

changed: [localhost]

PLAY RECAP *********************************************************************
localhost : ok=4 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0

~/playbooks ● > flatpak run com.github.geigi.cozy
error: app/com.github.geigi.cozy/x86_64/master not installed

`

The flatpak package gets installed but its icon doesn’t show up in GNOME Applications. Also, when I try to run the flatpak in the console it says that it wasn’t installed.

Here’s my playbook: https://bitbucket.org/zoliky/playbooks
Any clue what went wrong? Thank you!

Leslie