For When You Can't Have The Real Thing
[ start | index | login ]
start > ansible > 2.5 > execute command on hosts

execute command on hosts

Created by dave. Last edited by dave, 114 days ago. Viewed 136 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2020-04-16)

Execute a command on hosts

$ ansible all -u root -a "ls /home"

"all" can be a group or hostname.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt