Ansible - ArchWiki

# Ansible

From docs.ansible.com:

    Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates.

## Installation

Install the ansible package. The remote machine where you want to automate deployment or configuration tasks only requires a Python interpreter and an OpenSSH server.

### Telling Ansible where Python2 is located

Ansible requires Python 2 on the target machine (but support for Python 3 is going to be added). By default Ansible assumes it can find a `/usr/bin/python` on your remote system that is a 2.X version of Python, specifically 2.4 or higher.

Since Arch Linux defaults to Python 3, you need to tell Ansible where to find Python 2 by setting the `ansible_python_interpreter` variable in your Ansible inventory file.

More information about this is available in [1] and [2].

Category:

- System administration