Skip to content

Zeromusta/runonall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

runonall

Who needs ansible?

setup

  • ssh keys between your hosts
  • commands.txt with the commands you want to run on each host
  • hosts.txt with all the hosts you want to run commands on

run

[you@hostname627 runonall]$ ./runonall.sh hosts.txt commands.txt

output

hostname452:
hostname:
hostname452
grep findme /etc/some/file.properties:
yep findme is on this line

hostname453:
hostname:
hostname453
grep findme /etc/some/file.properties:
findme is here on this host
findme is also here
can't run from findme

hostname475:
(and on and on for each host...)

About

Who needs ansible?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages