gather all FACTS for all ansible hosts ansible all -m setup [root@anzible-hosts ~]# ansible linux -m setup -a 'gather_subset=network,virtual'