{"id":745,"sha1":"96f0d91814f26cdb2e28e62089ea9ea6fd4b6c0e","playbook":{"id":745,"items":{"plays":1,"tasks":2,"results":2,"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/bash-kvm-inventory-prod.sh"],"listhosts":false,"subset":"ideal-kite.man-1.vm.plesk-server.com","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":["RM9592.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":13,"name":"plesk"},{"id":81,"name":"migration"},{"id":83,"name":"subset:ideal-kite.man-1.vm.plesk-server.com"}],"started":"2024-06-26T07:27:59.986076+01:00","ended":"2024-06-26T07:28:06.349738+01:00","duration":"00:00:06.363662","name":"RM9592.yaml","ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.1","status":"failed","path":"/home/ssh-gateway/ansible/RM9592.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Playbook to upload and run a script\n  hosts: all\n  gather_facts: false\n  vars:\n    ara_playbook_name: RM9592.yaml\n    ara_playbook_labels:\n      - plesk\n      - migration\n    loc_scr: /home/ssh-gateway/ansible/projects/RM9592/RM9592.sh\n    rem_scr: /tmp/RM9592.sh\n  tasks:\n    - name: Upload the file\n      ansible.builtin.copy:\n        src: \"{{ loc_scr }}\"\n        dest: \"{{ rem_scr }}\"\n        mode: '0755'\n    - name: Execute the script\n      ansible.builtin.shell: |\n        set -o pipefail\n        \"{{ rem_scr }}\"\n      args:\n        executable: /bin/bash\n      changed_when: false\n      register: script_output\n    - name: Print the script output\n      ansible.legacy.debug:\n        var: script_output.stdout\n","created":"2024-06-26T07:28:00.004229+01:00","updated":"2024-06-26T07:28:00.004251+01:00","path":"/home/ssh-gateway/ansible/RM9592.yaml"}