{"id":5643,"sha1":"2d1f3a4cf2b1b8be330ec0edccb15be57cfa2706","playbook":{"id":3523,"items":{"plays":1,"tasks":4,"results":1569,"hosts":398,"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/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":["verify.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-07-24T15:12:15.366680+01:00","ended":"2025-07-24T15:16:07.305941+01:00","duration":"00:03:51.939261","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/verify.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Check agent360.ini configuration\n  hosts: all\n  gather_facts: false\n  tasks:\n    - name: Check if /etc/agent360.ini exists\n      ansible.builtin.stat:\n        path: /etc/agent360.ini\n      register: file_stat\n\n    - name: Fail if /etc/agent360.ini does not exist\n      ansible.builtin.fail:\n        msg: \"File /etc/agent360.ini does not exist\"\n      when: not file_stat.stat.exists\n\n    - name: Search for required exclude line\n      ansible.builtin.command: grep -F \"exclude = /dev/loop,/dev/snap,/squashfs,/cagefs-skeleton,/restore\" /etc/agent360.ini\n      register: grep_result\n      failed_when: false\n      changed_when: false\n      when: file_stat.stat.exists\n\n    - name: Fail if required line is not found\n      ansible.builtin.fail:\n        msg: \"Required line 'exclude = /dev/loop,/dev/snap,/squashfs,/cagefs-skeleton,/restore' not found in /etc/agent360.ini\"\n      when:\n        - file_stat.stat.exists\n        - grep_result.rc != 0\n","created":"2025-07-24T15:12:15.394358+01:00","updated":"2025-07-24T15:12:15.394382+01:00","path":"/home/ssh-gateway/ansible/kuly/verify.yaml"}