Ansible - Learning Docs & References

Follow · 4 mins read
Ansible - Learning Docs & References
Share this

Ansible for Absolute Beginners

Automation with Ansible – All You Want to Learn

You have hundreds and thousands of online documentation and wiki pages for learning Ansible, and this is my attempt to cover Ansible in a simple and beginner level approach. Access all chapters on

Table of Contents

Ansible Videos for Beginners

Ansible - Frequently Asked Questions

  1. What is Ansible?
  2. What is IaC?
  3. What can Ansible do?
  4. What are the advantages of Ansible?
  5. How does Ansible work?
  6. What is a Playbook?
  7. Are there any requirements for using Ansible?
  8. What is DevOps?
  9. How does Ansible fit into DevOps?
  10. Who is Ansible for? Who should learn Ansible?
  11. What are prerequisites to learning Ansible?

Ansible Playbook References

Tools for Ansible

Ansible for Network Automation

Ansible Tower

Ansible and Python Modules

How to install pip on Red Hat Enterprise Linux?

pip install –target=/your/pyinstalldir loremipsum pip install fortiosapi –target=/var/lib/awx/venv/ansible/lib/python2.7/site-packages

pip list –target=/var/lib/awx/venv/ansible/lib/python2.7/site-packages

Running in a virtualenv

# subscription-manager repos --enable rhel-server-rhscl-7-rpms
# yum install python27-python-pip

Switch to a normal user and check the pip

$ scl enable python27 bash
$ which pip
$ pip -V

For Existing Tower

# source /var/lib/awx/venv/ansible/bin/activate
# umask 0022
# pip install --upgrade pywinrm
# deactivate

Ansible and Python 3

Ansible 2.5 and above work with Python 3.

[[email protected] ~]$ ansible --version |grep python
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  python version = 2.7.5 (default, Sep 26 2019, 13:23:47) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]

Ansible Blog/Articles to Follow

Ansible Interview Questions

Ansible Modules

Other References

Ansible for IBM Power

Ansible for Arista Networks

Ansible for CIS Hardening/CIS Check

Latest Stories