Remote Execution

Length: 00:03:38

Lesson Summary:

Salt's remote execution framework allows us to run commands on multiple machines simultaneously (although we can stagger jobs, this is a topic for another lesson). It solves the core IT issue of having to either run a command on multiple servers by hand or through writing scripts to perform that same task.

This is done through the use of functions known as execution modules. Execution modules are distro-agnostic* and resemble the following when in use:

module.function

For example, let's consider the pkg, or "package," module. This module allows us to manage what packages we have on our server by using a number of provided functions that perform specific tasks. One such function is the install function. As you can imagine, this function allows us to install packages. When it goes to use this module function, we would call it with pkg.install.

So, how would we use this on the command line? Well, let's find out!


This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More