--- - name: configure over ssh hosts: router vars: ansible_connection: ssh ansible_host: "{{ ip }}" ansible_user: root ansible_ssh_private_key_file: ~/.ssh/id_ed25519 ansible_ssh_common_args: >- -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PreferredAuthentications=publickey,password -o PubkeyAuthentication=yes roles: - sshd - timezone - locales - sysctl - stunnel4 - openvpn - xray-core - logrotate - dnsmasq - xray-lists - unbound - resolv - nftables - netutils