{"id":391,"status":"failed","playbook":{"id":15,"items":{"plays":1,"tasks":1,"results":16,"hosts":16,"files":1,"records":0},"arguments":{"version":null,"verbosity":2,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"inventory":["/home/ssh-gateway/ansible/hosts-firewall"],"listhosts":false,"subset":null,"poll_interval":15,"seconds":0,"one_line":false,"tree":null,"private_key_file":"/home/ssh-gateway/.ssh/id_rsa","remote_user":"root","connection":"ssh","timeout":null,"ssh_common_args":null,"sftp_extra_args":null,"scp_extra_args":null,"ssh_extra_args":null,"ask_pass":false,"connection_password_file":null,"check":false,"diff":false,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":30,"module_path":null,"basedir":null,"task_timeout":0,"module_args":"systemct enable --now kcare.service","module_name":"shell","args":"vms"},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"}],"started":"2024-03-18T12:21:37.795730Z","ended":null,"duration":null,"name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.2.dev2","status":"running","path":"Ad-Hoc: shell: systemct enable --now kcare.service","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":15,"items":{"tasks":1,"results":16},"started":"2024-03-18T12:21:37.907097Z","ended":"2024-03-18T12:21:41.862175Z","duration":"00:00:03.955078","name":"Ansible Ad-Hoc","status":"completed"},"task":{"id":30,"items":{"results":16},"path":"Ad-Hoc: shell: systemct enable --now kcare.service","tags":[],"started":"2024-03-18T12:21:38.232827Z","ended":"2024-03-18T12:21:41.812490Z","duration":"00:00:03.579663","name":"shell","uuid":"001851d0-75dc-b36d-b3fe-00000000001e","action":"shell","lineno":1,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":15},"host":{"id":127,"name":"wazuh","changed":0,"failed":0,"ok":0,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"changed":true,"cmd":"systemct enable --now kcare.service","delta":"0:00:00.004091","end":"2024-03-18 12:21:39.118829","invocation":{"module_args":{"_raw_params":"systemct enable --now kcare.service","_uses_shell":true,"argv":null,"chdir":null,"creates":null,"executable":null,"expand_argument_vars":true,"removes":null,"stdin":null,"stdin_add_newline":true,"strip_empty_ends":true}},"msg":"non-zero return code","rc":127,"start":"2024-03-18 12:21:39.114738","stderr":"/bin/sh: systemct: command not found","stderr_lines":["/bin/sh: systemct: command not found"],"stdout":"","stdout_lines":[]},"created":"2024-03-18T12:21:40.365297Z","updated":"2024-03-18T12:21:40.365326Z","started":"2024-03-18T12:21:38.660548Z","ended":"2024-03-18T12:21:40.305436Z","duration":"00:00:01.644888","changed":true,"ignore_errors":false}