Configure the Linux Execution Server for Ansible

To run Ansible configuration management on this Execution Server, several additional configurations are needed.

 

Prerequisites:

To configure the Execution Server to run Ansible:

  1. Install Ansible as globally available command line utility.

    python3 -m pip install ansible
  2. Verify install by running:

    ansible --version

  3. Install pywinrm into same python environment as global Ansible. This library is required by Ansible to connect to Windows Apps.

    python3 -m pip install pywinrm
  4. Install the CentOS sshpass module to allow password authentication to Apps.

    yum install sshpass