Ansible

[development|troubleshoot]

ansible -b hostname -m debug -a 'var=hostvars["hostname"]'

ansible hostname -m setup

ansible all -m setup -a 'filter=ansible_*_mb'

ansible all -m setup -a 'filter=ansible_eth[0-2]'

ansible all -m setup -a 'gather_subset=!all'