![]() On your Master node, run the following command to include the official project’s PPA (personal package archive) in your system’s list of sources: # apt-add-repository ppa:ansible/ansible Installing Ansible with apt package manager One is with the apt package manager by configuring official ansible PPA repository and second is with python-pip method. There are two methods of installing Ansible on Ubuntu OS. Now lets start the practical demonstration of installing Ansible. Module-side, they support Python 3.5 or greater and Python 2.6 or greater. On the controller Ansible supports Python 3.5 or greater and Python 2.7 or greater. Windows is not supported for the control node. This includes Red Hat, Debian, CentOS, macOS, any of the BSDs, and so on. Ansible python compatibility matrixĪs per official documentation Ansible can be run from any machine with Python 2 (version 2.7) or Python 3 (versions 3.5 and higher) installed. Here I have taken two Ansible master nodes just to demonstrate installation steps for two most popular operating systems RHEL based CentOS and Debian based Ubuntu. The Ansible control or mater node will be the machine we will use to connect to and control the Ansible hosts over SSH. In this tutorial I will demonstrate different ways to install Ansible on one of the most popular Linux Operating systems (CentOS and Ubuntu). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |