Ansible works by connecting to your server with SSH and thereby pushing out small programs, known as 'Ansible modules' to it. Ansible's most powerful feature of creating playbooks, a small piece of YAML code, is used to automate almost anything related to your IT requirements.