{"id":250780,"status":"failed","playbook":{"id":2747,"items":{"plays":1,"tasks":2,"results":3,"hosts":2,"files":1,"records":0},"arguments":{"version":null,"verbosity":0,"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/hosts-kvm-nodes"],"listhosts":false,"subset":"dev","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":["RM10003.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":12,"name":"subset:dev"}],"started":"2025-04-14T14:49:38.355483+01:00","ended":"2025-04-14T14:49:39.582976+01:00","duration":"00:00:01.227493","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"failed","path":"/home/ssh-gateway/ansible/kuly/RM10003.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":3068,"items":{"tasks":2,"results":3},"started":"2025-04-14T14:49:38.432528+01:00","ended":"2025-04-14T14:49:39.436801+01:00","duration":"00:00:01.004273","name":"Playbook to add rules and verify them","status":"completed"},"task":{"id":6503,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/RM10003.yaml","tags":[],"started":"2025-04-14T14:49:39.223800+01:00","ended":"2025-04-14T14:49:39.387375+01:00","duration":"00:00:00.163575","name":"Debug the result","uuid":"001851d0-75dc-30b1-1afb-00000000001e","action":"ansible.builtin.debug","lineno":16,"handler":false,"status":"failed","warnings":[],"deprecations":[],"exceptions":[],"file":4853},"host":{"id":105305,"name":"kvm2-dev","changed":0,"failed":1,"ok":1,"skipped":0,"unreachable":0},"delegated_to":[],"content":{"msg":"The conditional check 'result.rc = '1'' failed. The error was: template error while templating string: expected token 'end of statement block', got '='. String: {% if result.rc = '1' %} True {% else %} False {% endif %}. expected token 'end of statement block', got '='\n\nThe error appears to be in '/home/ssh-gateway/ansible/kuly/RM10003.yaml': line 16, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n      changed_when: false\n    - name: Debug the result\n      ^ here\n"},"created":"2025-04-14T14:49:39.339936+01:00","updated":"2025-04-14T14:49:39.339969+01:00","started":"2025-04-14T14:49:39.273287+01:00","ended":"2025-04-14T14:49:39.333921+01:00","duration":"00:00:00.060634","changed":false,"ignore_errors":false}