Execution
Date 04 Jun 2024 13:30:59 +0100
Duration 00:01:17.51
Controller ssh-gw-4.layershift.com
User root
Versions
Ansible 2.16.4
ara 1.7.1 / 1.7.1
Python 3.10.10
Summary
81 Hosts
4 Tasks
285 Results
1 Plays
1 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:06.21
  • Play
    Playbook to update plugins on servers that has monitoring360
  • Task
    Run a command if plugins and server ID are present

Field Value
changed
False
cmd
set -o pipefail
curl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics
service agent360 restart
delta
0:00:00.377642
end
2024-06-04 12:31:30.447211
invocation
{
    "module_args": {
        "_raw_params": "set -o pipefail\ncurl -Ls https://tgz.thecode.casa/agent360_plugins/install.sh  | bash -s provider_metrics\nservice agent360 restart\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
2024-06-04 12:31:30.069569
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  8962  100  8962    0     0   486k      0 --:--:-- --:--:-- --:--:--  486k
  % 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   259  100   259    0     0  14388      0 --:--:-- --:--:-- --:--:-- 14388
Redirecting to /bin/systemctl restart agent360.service
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  8962  100  8962    0     0   486k      0 --:--:-- --:--:-- --:--:--  486k",
    "  % 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   259  100   259    0     0  14388      0 --:--:-- --:--:-- --:--:-- 14388",
    "Redirecting to /bin/systemctl restart agent360.service",
    "Redirecting to /bin/systemctl restart agent360.service"
]
stdout
Conf already added, so this is an upgrade
provider_metrics:
Load error: No module named 'MySQLdb'
stdout_lines
[
    "Conf already added, so this is an upgrade",
    "provider_metrics:",
    "Load error: No module named 'MySQLdb'"
]