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

Task result details


Field Value
ansible_facts
{
    "discovered_interpreter_python": "/usr/libexec/platform-python"
}
changed
True
cmd
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
delta
0:00:02.491140
end
2025-12-12 11:08:43.732228
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\nfor p in provider_metrics fpm_errors apache_errors process_runtimes ram_per_user cpu_per_user; do\n  agent360 --info | grep -q \"$p\" && echo \"$p: OK\" || { echo \"$p: MISSING \u2013 installing\"; curl -Ls https://deploy.thecode.casa/agent360_plugins/install.sh | bash -s \"$p\"; }\ndone\n",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": "/bin/bash",
        "expand_argument_vars": true,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
msg

rc
0
start
2025-12-12 11:08:41.241088
stderr
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   758  100   758    0     0  30320      0 --:--:-- --:--:-- --:--:-- 31583
Redirecting to /bin/systemctl restart agent360.service
stderr_lines
[
    "  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current",
    "                                 Dload  Upload   Total   Spent    Left  Speed",
    "",
    "  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0",
    "100   758  100   758    0     0  30320      0 --:--:-- --:--:-- --:--:-- 31583",
    "Redirecting to /bin/systemctl restart agent360.service"
]
stdout
provider_metrics: OK
fpm_errors: OK
apache_errors: OK
process_runtimes: OK
ram_per_user: OK
cpu_per_user: MISSING – installing
Conf already added, so this is an upgrade
cpu_per_user:
{
    "amavis": 0.0,
    "apache": 1.0,
    "dbus": 1.9,
    "dovecot": 0.0,
    "grafana": 1.0,
    "mysql": 1.9,
    "named": 0.0,
    "nginx": 0.0,
    "plesk-ssh-terminal": 0.0,
    "polkitd": 1.0,
    "postfix": 0.0,
    "psaadm": 1.0,
    "root": 91.8,
    "rpc": 0.0,
    "sw-cp-server": 0.0,
    "systemd-timesync": 0.0,
    "techaro-botstopper": 1.0
}
stdout_lines
[
    "provider_metrics: OK",
    "fpm_errors: OK",
    "apache_errors: OK",
    "process_runtimes: OK",
    "ram_per_user: OK",
    "cpu_per_user: MISSING \u2013 installing",
    "Conf already added, so this is an upgrade",
    "cpu_per_user:",
    "{",
    "    \"amavis\": 0.0,",
    "    \"apache\": 1.0,",
    "    \"dbus\": 1.9,",
    "    \"dovecot\": 0.0,",
    "    \"grafana\": 1.0,",
    "    \"mysql\": 1.9,",
    "    \"named\": 0.0,",
    "    \"nginx\": 0.0,",
    "    \"plesk-ssh-terminal\": 0.0,",
    "    \"polkitd\": 1.0,",
    "    \"postfix\": 0.0,",
    "    \"psaadm\": 1.0,",
    "    \"root\": 91.8,",
    "    \"rpc\": 0.0,",
    "    \"sw-cp-server\": 0.0,",
    "    \"systemd-timesync\": 0.0,",
    "    \"techaro-botstopper\": 1.0",
    "}"
]