Get:3 focal/main amd64 ansible-core all 2.12.10-1ppa~focal Get:2 focal/main amd64 python3-jinja2 all 2.10.1-2 Get:1 focal/main amd64 python3-resolvelib all 0.5.4-2ppa~focal The following NEW packages will be installed:Īnsible ansible-core python3-jinja2 python3-jmespath python3-kerberos python3-ntlm-auth python3-packaging python3-pyparsing python3-requests-kerberosĠ upgraded, 14 newly installed, 0 to remove and 39 not upgraded.Īfter this operation, 323 MB of additional disk space will be used. Python3-requests-ntlm python3-resolvelib python3-winrm python3-xmltodict sshpass The following additional packages will be installed:Īnsible-core python3-jinja2 python3-jmespath python3-kerberos python3-ntlm-auth python3-packaging python3-pyparsing python3-requests-kerberos This will download all the packages along with all its dependencies. Now you can install all the ansible tools from the added PPA repository by using sudo apt install ansible -y command as shown below. Get:33 focal-backports/universe amd64 DEP-11 Metadata ![]() Get:32 focal-backports/main amd64 DEP-11 Metadata Get:31 focal-updates/multiverse amd64 DEP-11 Metadata Get:30 focal-updates/universe amd64 c-n-f Metadata ![]() Get:29 focal-updates/universe amd64 DEP-11 Metadata Get:28 focal-updates/universe Translation-en Get:27 focal-updates/universe i386 Packages Get:26 focal-updates/universe amd64 Packages Get:25 focal-updates/main amd64 c-n-f Metadata Get:24 focal-updates/main amd64 DEP-11 Metadata Get:23 focal-updates/main Translation-en Get:20 focal-updates/main amd64 Packages Get:11 focal-security/multiverse amd64 DEP-11 Metadata Get:10 focal-security/universe amd64 c-n-f Metadata Get:9 focal-security/universe amd64 DEP-11 Metadata Get:8 focal-security/universe amd64 Packages Get:7 focal-security/universe i386 Packages Get:6 focal-security/main amd64 c-n-f Metadata Get:5 focal-security/main amd64 DEP-11 Metadata Get:4 focal-security/main amd64 Packages sudo add-apt-repository -yes -update ppa:ansible/ansible Then add the ansible PPA repository using sudo add-apt-repository -yes -update ppa:ansible/ansible to download all the ansible tools. Software-properties-common set to manually installed.Ġ upgraded, 0 newly installed, 0 to remove and 31 not upgraded. Software-properties-common is already the newest version (0.99.9.8). sudo apt install software-properties-common If it's not installed then it will install, otherwise it will just display you below output. Step 3: Install software-properties-commonīefore adding the ansible repository, check the installation of software-properties-common package by running sudo apt install software-properties-common command as shown below. Get:12 focal-security/main amd64 DEP-11 Metadata ![]() Get:11 focal-security/main Translation-en Get:10 focal-security/main i386 Packages Get:6 focal-security/main amd64 Packages ![]() How to Install Ansible on Ubuntu 20.04 LTS (Focal Fossa)Īlso Read: How to Install Ansible on Ubuntu 18.04 with Best Practices Step 1: PrerequisitesĪ) You should have a running Ubuntu 20.04 LTS control server.ī) You should have a running Linux Mint 21 ansible host.ī) You should have sudo or root access to run privileged commands.Ĭ) You should have apt or apt-get utility available in your Server.īefore going through the steps to install ansible on the server, it is recommended to first update and sync all the installed packages with the latest available versions from default Ubuntu repo using sudo apt update & sudo apt upgrade command as shown below. In our lab, we are going to use two node setup in which one is the Ubuntu 20.04 LTS based control node and another is Linux Mint 21 based ansible host with IP address as shown below.Ĭontrol host - 192.168.0.108(Ubuntu 20.04 LTS)Īnsible host - 192.168.0.101(Linux Mint ) Here we will see how to install Ansible on Ubuntu 20.04 LTS control node and manage hosts from there. It is powerful agentless tool that works almost everywhere and with everything. It is designed for multi-tier deployments to play a central role in managing number of hosts(including cloud platform and on-premise hosts) from a central location without putting much effort. Ansible is a free and simple IT automation tool that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other such needs. In this article, I will take you through the steps to install ansible on Ubuntu 20.04 LTS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |