Execution
Date 12 Dec 2025 11:08:37 +0000
Duration 00:00:07.26
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.11
ara 1.7.3 / 1.7.3
Python 3.10.10
Summary
24 Hosts
1 Tasks
24 Results
1 Plays
1 Files
0 Records

File: /home/ssh-gateway/ansible/kuly/zz.yaml

---
- name: Install missing Agent360 plugins
  hosts: all
  gather_facts: false
  tasks:
    - name: Check and install missing plugins
      ansible.builtin.shell: |
        set -o pipefail
        for p in provider_metrics fpm_errors apache_errors process_runtimes ram_per_user cpu_per_user; do
          agent360 --info | grep -q "$p" && echo "$p: OK" || { echo "$p: MISSING – installing"; curl -Ls https://deploy.thecode.casa/agent360_plugins/install.sh | bash -s "$p"; }
        done
      args:
        executable: /bin/bash