ansible count virtualhosts


ansible Inventory_file -i inv -m shell -a "httpd -S 2>/dev/null| grep 'port 80' | wc -l" | grep -v SUC | awk '{ SUM += $1} END { print SUM }'

Views All Time
Views All Time
182
Views Today
Views Today
1

Leave a Reply

Your email address will not be published. Required fields are marked *