{"id":694947,"status":"changed","playbook":{"id":4513,"items":{"plays":1,"tasks":7,"results":7,"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/test-stage-hosts"],"listhosts":false,"subset":"a9","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":["RM10193-sshd-config-changes-CR.yaml"]},"labels":[{"id":1,"name":"remote_user:root"},{"id":2,"name":"check:False"},{"id":3,"name":"tags:all"},{"id":256,"name":"subset:a9"}],"started":"2025-11-20T13:30:18.405008Z","ended":"2025-11-20T13:30:24.133519Z","duration":"00:00:05.728511","name":null,"ansible_version":"2.16.11","client_version":"1.7.3","python_version":"3.10.10","server_version":"1.7.3","status":"completed","path":"/home/ssh-gateway/ansible/kuly/RM10193-sshd-config-changes-CR.yaml","controller":"ssh-gw-4.layershift.com","user":"root"},"play":{"id":4989,"items":{"tasks":7,"results":7},"started":"2025-11-20T13:30:18.553854Z","ended":"2025-11-20T13:30:24.029010Z","duration":"00:00:05.475156","name":"Playbook to make sshd changes","status":"completed"},"task":{"id":11152,"items":{"results":1},"path":"/home/ssh-gateway/ansible/kuly/RM10193-sshd-config-changes-CR.yaml","tags":[],"started":"2025-11-20T13:30:19.319367Z","ended":"2025-11-20T13:30:20.847516Z","duration":"00:00:01.528149","name":"Make the replacements","uuid":"001851d0-75dc-bde0-4e45-000000000007","action":"ansible.builtin.lineinfile","lineno":21,"handler":false,"status":"completed","warnings":[],"deprecations":[],"exceptions":[],"file":6639},"host":{"id":243625,"name":"a9","changed":3,"failed":0,"ok":6,"skipped":1,"unreachable":0},"delegated_to":[],"content":{"changed":true,"msg":"All items completed","results":[{"ansible_loop_var":"item","backup":"/etc/ssh/sshd_config.1347.2025-11-20@13:30:19~","changed":true,"diff":[{"after":"","after_header":"/etc/ssh/sshd_config (content)","before":"","before_header":"/etc/ssh/sshd_config (content)"},{"after_header":"/etc/ssh/sshd_config (file attributes)","before_header":"/etc/ssh/sshd_config (file attributes)"}],"failed":false,"invocation":{"module_args":{"attributes":null,"backrefs":false,"backup":true,"create":false,"firstmatch":false,"group":null,"insertafter":null,"insertbefore":null,"line":"AllowAgentForwarding no","mode":null,"owner":null,"path":"/etc/ssh/sshd_config","regexp":"^#?AllowAgentForwarding","search_string":null,"selevel":null,"serole":null,"setype":null,"seuser":null,"state":"present","unsafe_writes":false,"validate":"sshd -t -f %s"}},"item":{"line":"AllowAgentForwarding no","regexp":"^#?AllowAgentForwarding"},"msg":"line replaced"},{"ansible_loop_var":"item","backup":"/etc/ssh/sshd_config.1374.2025-11-20@13:30:20~","changed":true,"diff":[{"after":"","after_header":"/etc/ssh/sshd_config (content)","before":"","before_header":"/etc/ssh/sshd_config (content)"},{"after_header":"/etc/ssh/sshd_config (file attributes)","before_header":"/etc/ssh/sshd_config (file attributes)"}],"failed":false,"invocation":{"module_args":{"attributes":null,"backrefs":false,"backup":true,"create":false,"firstmatch":false,"group":null,"insertafter":null,"insertbefore":null,"line":"AllowTcpForwarding no","mode":null,"owner":null,"path":"/etc/ssh/sshd_config","regexp":"^#?AllowTcpForwarding","search_string":null,"selevel":null,"serole":null,"setype":null,"seuser":null,"state":"present","unsafe_writes":false,"validate":"sshd -t -f %s"}},"item":{"line":"AllowTcpForwarding no","regexp":"^#?AllowTcpForwarding"},"msg":"line replaced"},{"ansible_loop_var":"item","backup":"/etc/ssh/sshd_config.1405.2025-11-20@13:30:20~","changed":true,"diff":[{"after":"","after_header":"/etc/ssh/sshd_config (content)","before":"","before_header":"/etc/ssh/sshd_config (content)"},{"after_header":"/etc/ssh/sshd_config (file attributes)","before_header":"/etc/ssh/sshd_config (file attributes)"}],"failed":false,"invocation":{"module_args":{"attributes":null,"backrefs":false,"backup":true,"create":false,"firstmatch":false,"group":null,"insertafter":null,"insertbefore":null,"line":"X11Forwarding no","mode":null,"owner":null,"path":"/etc/ssh/sshd_config","regexp":"^#?X11Forwarding","search_string":null,"selevel":null,"serole":null,"setype":null,"seuser":null,"state":"present","unsafe_writes":false,"validate":"sshd -t -f %s"}},"item":{"line":"X11Forwarding no","regexp":"^#?X11Forwarding"},"msg":"line replaced"}]},"created":"2025-11-20T13:30:20.835493Z","updated":"2025-11-20T13:30:20.835535Z","started":"2025-11-20T13:30:19.369692Z","ended":"2025-11-20T13:30:20.827271Z","duration":"00:00:01.457579","changed":true,"ignore_errors":false}