Ansible is written in the Python programming language. If we talk about the core functionality of Ansible, listing its modules, playbooks, and the command-line interface, they are implemented using Python. This choice of language allows Ansible to be cross-platform, and accessible to a wide range of users.  While Ansible itself is primarily written in Python, it's also important to note that you don't have to be an expert in Python to use Ansible effectively. Its declarative syntax, YAML playbooks, and pre-built modules take into account much of the underlying programming complexity, making it an easy-going thing for IT professionals and system administrators having various levels of programming experience.