Configure the Linux Execution Server for Ansible
To run Ansible configuration management on this Execution Server, several additional configurations are needed.
Prerequisites:
- Execution Server has the
/ansible
flag enabled. For details, see Example: How to Run the Configuration File
To configure the Execution Server to run Ansible:
-
Install Ansible as globally available command line utility.
python3 -m pip install ansible
-
Verify install by running:
ansible --version
-
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
-
Install the CentOS sshpass module to allow password authentication to Apps.
yum install sshpass