Skip to content

run host saltmod

Anoop Rajendra edited this page May 15, 2017 · 1 revision

run host saltmod

Usage

stack run host saltmod {command} {args}

Description

Runs a salt module on all compute nodes

Arguments

  • [command]

  • [args]

    The arguments to the salt command.

Examples

  • stack run saltmod command="cmd.run" args="hostname"

    Runs the cmd.run module on all hosts, and fetch the hostname from all nodes.

Clone this wiki locally