handle error in ansible cli
This commit is contained in:
parent
19a57926d2
commit
08b3c39e3b
|
@ -99,7 +99,8 @@ sub execute {
|
|||
sudo => $self->{option_results}->{sudo},
|
||||
command => $self->{option_results}->{command},
|
||||
command_path => $self->{option_results}->{command_path},
|
||||
command_options => $options{cmd_options}
|
||||
command_options => $options{cmd_options},
|
||||
no_errors => { 4 => 1 }
|
||||
);
|
||||
|
||||
my $raw_results;
|
||||
|
|
Loading…
Reference in New Issue