Ansible IOS gather facts

HI guys / experts,

Have you tried gathering ios facts and when it is satisfied, it will gather another facts using the output of the first facts?

Dont know if this is possible.

Thank you.