{"id":175525,"status":"changed","playbook":{"id":2116,"items":{"plays":1,"tasks":4,"results":4,"hosts":1,"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-dev.sh"],"listhosts":false,"subset":"backup-manager.stage.town","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":["upgrade_agent360_agent.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":139,"name":"subset:backup-manager.stage.town"}],"started":"2024-11-05T12:43:21.041918Z","ended":"2024-11-05T12:44:04.856230Z","duration":"00:00:43.814312","name":null,"ansible_version":"2.16.11","client_version":"1.7.2","python_version":"3.10.10","server_version":"1.7.2","status":"completed","path":"/home/ssh-gateway/ansible/kuly/upgrade_agent360_agent.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":2432,"items":{"tasks":4,"results":4},"started":"2024-11-05T12:43:21.121536Z","ended":"2024-11-05T12:44:04.760990Z","duration":"00:00:43.639454","name":"Playbook to upgrade agent360 agent via pip","status":"completed"},"task":{"id":5351,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/upgrade_agent360_agent.yaml","tags":[],"started":"2024-11-05T12:43:21.179414Z","ended":"2024-11-05T12:44:02.929502Z","duration":"00:00:41.750088","name":"Upgrade agent360 package via pip","uuid":"001851d0-75dc-cbd2-cd6d-000000000027","action":"ansible.builtin.pip","lineno":6,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":4137},"host":{"id":71880,"name":"backup-manager.stage.town","changed":2,"failed":0,"ok":3,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"ansible_facts":{"discovered_interpreter_python":"/usr/libexec/platform-python"},"changed":true,"cmd":["/usr/bin/pip3","install","-U","agent360"],"invocation":{"module_args":{"chdir":null,"editable":false,"executable":"/usr/bin/pip3","extra_args":null,"name":["agent360"],"requirements":null,"state":"latest","umask":null,"version":null,"virtualenv":null,"virtualenv_command":"virtualenv","virtualenv_python":null,"virtualenv_site_packages":false}},"name":["agent360"],"requirements":null,"state":"latest","stderr":"WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.\n/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.\n  setuptools.SetuptoolsDeprecationWarning,\n","stderr_lines":["WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.","/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.","  setuptools.SetuptoolsDeprecationWarning,","/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.","  setuptools.SetuptoolsDeprecationWarning,","/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.","  setuptools.SetuptoolsDeprecationWarning,","/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.","  setuptools.SetuptoolsDeprecationWarning,","/usr/local/lib/python3.6/site-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.","  setuptools.SetuptoolsDeprecationWarning,"],"stdout":"Collecting agent360\n  Downloading https://files.pythonhosted.org/packages/fd/fa/21107d623f983a0cf714c1ec351bc6fe6b457d3237f854601db5b0cfef7f/agent360-1.3.0-py3-none-any.whl (67kB)\nCollecting certifi (from agent360)\n  Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)\nRequirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)\nCollecting psutil (from agent360)\n  Downloading https://files.pythonhosted.org/packages/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)\nRequirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)\nCollecting distro (from agent360)\n  Downloading https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl\nCollecting future (from agent360)\n  Downloading https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl (491kB)\nInstalling collected packages: certifi, psutil, distro, future, agent360\n  Found existing installation: certifi 2023.7.22\n    Uninstalling certifi-2023.7.22:\n      Successfully uninstalled certifi-2023.7.22\n  Found existing installation: psutil 5.9.5\n    Uninstalling psutil-5.9.5:\n      Successfully uninstalled psutil-5.9.5\n  Running setup.py install for psutil: started\n    Running setup.py install for psutil: finished with status 'done'\n  Found existing installation: distro 1.8.0\n    Uninstalling distro-1.8.0:\n      Successfully uninstalled distro-1.8.0\n  Found existing installation: future 0.18.3\n    Uninstalling future-0.18.3:\n      Successfully uninstalled future-0.18.3\n  Found existing installation: agent360 1.2.46\n    Uninstalling agent360-1.2.46:\n      Successfully uninstalled agent360-1.2.46\nSuccessfully installed agent360-1.3.0 certifi-2024.8.30 distro-1.9.0 future-1.0.0 psutil-6.1.0\n","stdout_lines":["Collecting agent360","  Downloading https://files.pythonhosted.org/packages/fd/fa/21107d623f983a0cf714c1ec351bc6fe6b457d3237f854601db5b0cfef7f/agent360-1.3.0-py3-none-any.whl (67kB)","Collecting certifi (from agent360)","  Downloading https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl (167kB)","Requirement already up-to-date: netifaces in /usr/local/lib64/python3.6/site-packages (from agent360)","Collecting psutil (from agent360)","  Downloading https://files.pythonhosted.org/packages/26/10/2a30b13c61e7cf937f4adf90710776b7918ed0a9c434e2c38224732af310/psutil-6.1.0.tar.gz (508kB)","Requirement already up-to-date: configparser in /usr/local/lib/python3.6/site-packages (from agent360)","Collecting distro (from agent360)","  Downloading https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl","Collecting future (from agent360)","  Downloading https://files.pythonhosted.org/packages/da/71/ae30dadffc90b9006d77af76b393cb9dfbfc9629f339fc1574a1c52e6806/future-1.0.0-py3-none-any.whl (491kB)","Installing collected packages: certifi, psutil, distro, future, agent360","  Found existing installation: certifi 2023.7.22","    Uninstalling certifi-2023.7.22:","      Successfully uninstalled certifi-2023.7.22","  Found existing installation: psutil 5.9.5","    Uninstalling psutil-5.9.5:","      Successfully uninstalled psutil-5.9.5","  Running setup.py install for psutil: started","    Running setup.py install for psutil: finished with status 'done'","  Found existing installation: distro 1.8.0","    Uninstalling distro-1.8.0:","      Successfully uninstalled distro-1.8.0","  Found existing installation: future 0.18.3","    Uninstalling future-0.18.3:","      Successfully uninstalled future-0.18.3","  Found existing installation: agent360 1.2.46","    Uninstalling agent360-1.2.46:","      Successfully uninstalled agent360-1.2.46","Successfully installed agent360-1.3.0 certifi-2024.8.30 distro-1.9.0 future-1.0.0 psutil-6.1.0"],"version":null,"virtualenv":null},"created":"2024-11-05T12:44:02.920985Z","updated":"2024-11-05T12:44:02.921005Z","started":"2024-11-05T12:43:21.229740Z","ended":"2024-11-05T12:44:02.899232Z","duration":"00:00:41.669492","changed":true,"ignore_errors":false}