mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
handle error in ansible cli
This commit is contained in:
parent
e892936f53
commit
1c1989f4ce
@ -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…
x
Reference in New Issue
Block a user