Closed nlisgo closed 9 years ago
Ansible's been instructed to ignore these errors (hence the ...ignoring
parts). In short, the errors are undesirable but expected :)
Sorry, Wednesday morning label mistakes :(
I did see this different output for the kill task last night when doing some testing. It is meant to ignore the error but the output of the kill command makes me think that something odd is going on. Thanks for reporting this.
I've found the problem here and pushed a fix for it.
The command being run was:
pidof ruby | xargs sudo kill -9
But when first run there is no output from the pidof command, which caused an error from the kill command complaining about missing arguments. The solution was to add the -r flag to xargs to prevent it from running when no output was found. Here is the new command.
pidof ruby | xargs -r sudo kill -9
Here is the output: