1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Cleaner alternative for scraping of Ansible vars?

This commit is contained in:
A Holt 2019-06-23 12:43:55 -04:00 committed by GitHub
parent 0386b5146a
commit eda859c389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,7 +164,7 @@ cat_cmd 'netstat -natp' 'Ports/Services in use'
cat_cmd 'iptables-save' 'Firewall rules'
cat_cmd 'systemctl status dnsmasq' 'Is dnsmasq Ok?'
cat_cmd 'journalctl -u dnsmasq' 'dnsmasq log'
#cat_cmd 'ansible localhost -m setup 2>/dev/null' 'All Ansible facts' # For a cleaner Ansible vars alternative, see ~20 lines above?
#cat_cmd 'ansible localhost -m setup 2>/dev/null' 'All Ansible facts' # For cleaner scraping of Ansible vars, see alternative ~20 lines above?
echo -e "\n 5. Log Files: (last 100 lines of each)\n"
cat_tail /opt/iiab/iiab/iiab-install.log 100