Prerequisites
Notes// archive From the original Code Walker docs. Kept for reference, so some versions and commands may be out of date.
It’s up to you how to install and work with Ansible, but in this theme for this documentation we’re in Python world. (Ansible is written in Python). A tried and test method is to create a Python virtual environment and install Ansible wusing pip.
You may wish to include this Ansible work along side you application code, or have a separate standalone repository. My instinct is to keep things separate, breaking anything into small, manageable chunks always make life easier!
mkdir ~/ansible && cd ~/ansiblepython -m venv venv
source venv/bin/activateInstall Ansible and the require AWS packages:
pip install ansible botocore boto3To install Ansible on RHEL8:
subscription-manager repos --enable ansible-2-for-rhel-8-x86_64-rpmsdnf install ansibleCheck the version:
ansible --version
ansible [core 2.14.0]