(self, cmd, provider, env=None, input_text=None, timeout=None, echo=True, loud=False, fatal=False, ignore_lines=None, primary=False)
Constructs but does not execute a command.

        cmd: a string or array of arguments including the command name. If an array is provided the shell will be bypassed.
        provider: a required reference to the provider class. The Command() class cannot be used seperately.
        env: an optional dict of environment variables to pass to the calling command
        input_text: any text to feed to standard input, if any
        timeout: the command will be killed after this many seconds
        echo: whether to show the command names + return codes + output on the screen using whatever callback class is set in the system
        fatal: whether any errors should fail the resource execution
        loud: whether to ignore 'quiet' preferences for just the output (but not command name or return codes)
        ignore_lines: don't echo any lines starting with these items (takes a list of strings)
        primary: if True, this command invocation is the sole purpose of the provider (example: the shell module) and failure status be controlled by ignore_errors/failed_when/etc.
Constructs but does not execute a command.
Constructs but does not execute a command .
def __init__(self, cmd, provider, env=None, input_text=None, timeout=None, echo=True, loud=False, fatal=False, ignore_lines=None, primary=False):

        """
        Constructs but does not execute a command.

        cmd: a string or array of arguments including the command name. If an array is provided the shell will be bypassed.
        provider: a required reference to the provider class. The Command() class cannot be used seperately.
        env: an optional dict of environment variables to pass to the calling command
        input_text: any text to feed to standard input, if any
        timeout: the command will be killed after this many seconds
        echo: whether to show the command names + return codes + output on the screen using whatever callback class is set in the system
        fatal: whether any errors should fail the resource execution
        loud: whether to ignore 'quiet' preferences for just the output (but not command name or return codes)
        ignore_lines: don't echo any lines starting with these items (takes a list of strings)
        primary: if True, this command invocation is the sole purpose of the provider (example: the shell module) and failure status be controlled by ignore_errors/failed_when/etc.
        """
        self.cmd = cmd
        self.provider = provider
        self.timeout = timeout
        self.loud = loud
        self.echo = echo
        self.fatal = fatal
        self.input_text = input_text
        self.env = env
        self.ignore_lines = ignore_lines
        self.primary = primary
def __init__ ( self , cmd , provider , env = None , input_text = None , timeout = None , echo = True , loud = False , fatal = False , ignore_lines = None , primary = False ) : self . cmd = cmd self . provider = provider self . timeout = timeout self . loud = loud self . echo = echo self . fatal = fatal self . input_text = input_text self . env = env self . ignore_lines = ignore_lines self . primary = primary