Skip to content

add possibility to get output of run-cmd in json #25

Description

@aabadie

Right now, the only way to get the output is to activate the verbose mode using --verbose. This is not very convenient to get the output of a command per node. We should display them as a json field with the following structure:

{ 
  "0" : ["node1.site", "node2.site"]
  "output":
    {
      "node1.site" : "command output",
      "node2.site" : "command output"
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions