bash script multiple servers sudo

while read HOST ; do ssh someuser@$HOST “sudo yum install -y python-ksplice-uptrack” < /dev/null; done <all_servers

Advertisements