rduty is a Python script to easily and quickly run a command or multiple commands on remote and local hosts and devices via ssh (telnet is also supported). It is also able to automate repetitive tasks on many hosts using inventory files from Ansible, or simple .ini inventory files.