mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
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},
|
sudo => $self->{option_results}->{sudo},
|
||||||
command => $self->{option_results}->{command},
|
command => $self->{option_results}->{command},
|
||||||
command_path => $self->{option_results}->{command_path},
|
command_path => $self->{option_results}->{command_path},
|
||||||
command_options => $options{cmd_options}
|
command_options => $options{cmd_options},
|
||||||
|
no_errors => { 4 => 1 }
|
||||||
);
|
);
|
||||||
|
|
||||||
my $raw_results;
|
my $raw_results;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user