{"id":632,"sha1":"099c8832b636c49e0931743e40f45b9526193dc9","playbook":{"id":632,"items":{"plays":1,"tasks":1,"results":1,"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/zimbra/inventory-mail-ls"],"listhosts":false,"subset":"mbox1","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":["change_management_port.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":74,"name":"subset:mbox1"}],"started":"2024-06-06T20:07:46.637105+01:00","ended":"2024-06-06T20:09:58.831862+01:00","duration":"00:02:12.194757","name":null,"ansible_version":"2.16.4","client_version":"1.7.1","python_version":"3.10.10","server_version":"1.7.1","status":"completed","path":"/home/ssh-gateway/ansible/zimbra/change_management_port.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"content":"---\n- name: Playbook to change management port on zimbra nodes\n  hosts: all\n  gather_facts: false\n  tasks:\n    - name: Change management port\n      ansible.builtin.shell: |\n        set -o pipefail\n        su -l zimbra -c \"zmprov mcf zimbraRemoteManagementPort 2233\"\n        su -l zimbra -c \"zmcontrol restart\"\n        su -l zimbra -c \"zmprov gacf | grep -w zimbraRemoteManagementPort\"\n        su -l zimbra -c \"zmsshkeygen\"\n        su -l zimbra -c \"zmupdateauthkeys\"\n      args:\n        executable: /bin/bash\n      changed_when: false\n","created":"2024-06-06T20:07:46.654988+01:00","updated":"2024-06-06T20:07:46.655009+01:00","path":"/home/ssh-gateway/ansible/zimbra/change_management_port.yaml"}