=> {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: connect to host 101.251.194.102 port 22: Connection refused\r\n", "unreachable": true} ansible_ssh_port=60001 -hosts: zss tasks:-name: step1ping:- name: step2 统计shell:egrepKFQX /etc/sudoers|wc-l ignore...
Ansible role which is an idempotent wrapper around dev-sec.ssh-hardening with automatic fallback to default port 22. - nununo/ansible-ssh-hardening-fallback