{"id":4497,"sha1":"20666f9f6563a465ad26d2ab2a40507b63c57392","playbook":{"id":2421,"items":{"plays":1,"tasks":3,"results":3,"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-prod.sh"],"listhosts":false,"subset":"versatile-chipmunk.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":["test1.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":80,"name":"subset:versatile-chipmunk.man-1.vm.plesk-server.com"}],"started":"2025-01-13T12:32:30.548044Z","ended":"2025-01-13T12:32:32.434785Z","duration":"00:00:01.886741","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/test1.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Test Plesk Info Module\n  hosts: all\n  tasks:\n    - name: Check Plesk binary and version\n      plesk_info:\n      register: plsk\n    - name: Check if server is CloudLinux\n      when: plsk.cloudlinux_found\n      block:\n        - name: Print it\n          ansible.builtin.debug:\n            msg: \"This is cloudlinux\"\n          changed_when: plsk.cloudlinux_found\n        - name: List file\n          ansible.builtin.shell: |\n            set -o pipefail\n            ls -la /usr/local/psa/var/root.event_handler.lock\n          args:\n            executable: /bin/bash\n          changed_when: plsk.cloudlinux_found\n","created":"2025-01-13T12:32:30.565034Z","updated":"2025-01-13T12:32:30.565055Z","path":"/home/ssh-gateway/ansible/kuly/test1.yaml"}