{"id":6816,"sha1":"d5c8bebd205b0df664c4b089d403c20c16b6465c","playbook":{"id":4679,"items":{"plays":1,"tasks":3,"results":1186,"hosts":398,"files":1,"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":["RM10229-missing-plugins.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"}],"started":"2025-12-12T11:11:11.384376Z","ended":"2025-12-12T11:14:38.959734Z","duration":"00:03:27.575358","name":null,"ansible_version":"2.16.11","client_version":"1.7.3","python_version":"3.10.10","server_version":"1.7.3","status":"failed","path":"/home/ssh-gateway/ansible/kuly/RM10229-missing-plugins.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Playbook\n  hosts: all\n  gather_facts: false\n  tasks:\n    - name: Get plesk info\n      plesk_info:\n      register: plsk\n    - name: Check for missing Agent360 plugins\n      when: plsk.plesk_found\n      ansible.builtin.shell: |\n        set -o pipefail\n        for p in provider_metrics fpm_errors apache_errors process_runtimes ram_per_user cpu_per_user ; do\n          if agent360 --info | grep -q \"$p\"; then\n            echo \"$p: OK\"\n          else\n            echo \"$p: MISSING\"\n          fi\n        done\n      args:\n        executable: /bin/bash\n      register: outp\n      changed_when: \"'MISSING' in outp.stdout\"\n    - name: Save them to a file\n      when: \"'MISSING' in outp.stdout\"\n      ansible.builtin.lineinfile:\n        path: zz-inv\n        line: \"{{ inventory_hostname }}\"\n        create: true\n        mode: '0644'\n      delegate_to: 127.0.0.1\n","created":"2025-12-12T11:11:11.400734Z","updated":"2025-12-12T11:11:11.400764Z","path":"/home/ssh-gateway/ansible/kuly/RM10229-missing-plugins.yaml"}