ss -tulpen | grep -vEe "\s+127[.]|::1|172\." ansible all -m shell -a 'ss -tulpen | grep -vEe "\s+127[.]|::1|172\."' needs to add 10.xx, fe80..