1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Support gathering of Ansible vars in future

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

View file

@ -139,7 +139,7 @@ cat_file /usr/bin/iiab-gen-iptables
#pushd /opt/iiab/iiab > /dev/null
#./runrole all-vars /tmp/all-ansible-vars
#popd > /dev/null
#cat_file /tmp/all-ansible-var
#cat_file /tmp/all-ansible-vars
echo -e "\n 3. Content of Directories, 1-level deep:\n"
cat_dir /etc/network/interfaces.d
@ -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'
#cat_cmd 'ansible localhost -m setup 2>/dev/null' 'All Ansible facts' # For a cleaner Ansible vars alternative, see ~20 lines above?
echo -e "\n 5. Log Files: (last 100 lines of each)\n"
cat_tail /opt/iiab/iiab/iiab-install.log 100