{"id":128055,"status":"failed","playbook":{"id":1628,"items":{"plays":3,"tasks":6,"results":396,"hosts":139,"files":6,"records":0},"arguments":{"version":null,"verbosity":2,"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,"force_handlers":false,"flush_cache":false,"become":false,"become_method":"sudo","become_user":null,"become_ask_pass":false,"become_password_file":null,"tags":["all"],"skip_tags":[],"check":false,"diff":false,"inventory":["/home/ssh-gateway/ansible/kuly/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":null,"extra_vars":"Not saved by ARA as configured by 'ignored_arguments'","vault_ids":[],"ask_vault_pass":false,"vault_password_files":[],"forks":20,"module_path":null,"syntax":false,"listtasks":false,"listtags":false,"step":false,"start_at_task":null,"args":["create_canary_hosts.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2024-09-11T08:36:55.113722+01:00","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.1","status":"running","path":"/home/ssh-gateway/ansible/kuly/create_canary_hosts.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":1657,"items":{"tasks":3,"results":393},"started":"2024-09-11T08:36:56.557931+01:00","ended":null,"duration":null,"name":"Playbook to generate inventory with Plesk servers only","status":"running"},"task":{"id":3155,"items":{"results":117},"path":"/home/ssh-gateway/ansible/kuly/create_canary_hosts.yaml","tags":[],"started":"2024-09-11T08:37:30.318580+01:00","ended":"2024-09-11T08:37:38.445301+01:00","duration":"00:00:08.126721","name":"If Plesk server, add name to inventory file","uuid":"001851d0-75dc-5d9d-de32-00000000009f","action":"ansible.builtin.lineinfile","lineno":39,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":2691},"host":{"id":55841,"name":"gold-walrus.man-1.vm.plesk-server.com","changed":0,"failed":0,"ok":0,"skipped":0,"unreachable":0},"delegated_to":[{"id":55823,"name":"localhost","changed":0,"failed":0,"ok":0,"skipped":0,"unreachable":0}],"content":{"msg":"The conditional check 'inventory_hostname in random_hosts and plesk_found' failed. The error was: error while evaluating conditional (inventory_hostname in random_hosts and plesk_found): 'random_hosts' is undefined. 'random_hosts' is undefined\n\nThe error appears to be in '/home/ssh-gateway/ansible/kuly/create_canary_hosts.yaml': line 39, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n  tasks:\n    - name: If Plesk server, add name to inventory file\n      ^ here\n"},"created":"2024-09-11T08:37:40.386953+01:00","updated":"2024-09-11T08:37:40.386988+01:00","started":"2024-09-11T08:37:31.364384+01:00","ended":"2024-09-11T08:37:40.378769+01:00","duration":"00:00:09.014385","changed":false,"ignore_errors":false}