{"id":9146,"date":"2023-09-26T11:26:25","date_gmt":"2023-09-26T11:26:25","guid":{"rendered":"https:\/\/businessyield.com\/tech\/?p=9146"},"modified":"2023-09-26T11:26:26","modified_gmt":"2023-09-26T11:26:26","slug":"how-to-install-ansible","status":"publish","type":"post","link":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/","title":{"rendered":"HOW TO INSTALL ANSIBLE: Step-By-Step Guide","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"\n<p>There are multiple configuration management solutions accessible to developers to help with remote server management; however, Ansible stands out for several reasons. What then distinguishes Ansible from other configuration management tools? This is because it is an agentless tool, there is no need to install agents on each node you run. It is indeed a solution that automates cloud supply, configuration management, application deployment, orchestration, and a variety of other important IT requirements. It is necessary to have two machines when installing Ansible. Let us name our first machine \u2018Server,\u2019 which will serve as our managed node, and our second machine \u2018Node,\u2019 which will serve as our controller node. Now, let\u2019s get started and learn everything there is to know about installing Ansible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-ansible\"><span id=\"install-ansible\"><strong>Install Ansible<\/strong><\/span><\/h2>\n\n\n\n<p>Overall, Ansible is an agentless automation tool installed on a single host called the control node. Ansible, on the other hand, can remotely manage multiple machines and devices using SSH, Powershell remoting, and other transports from a command-line interface without needing databases or daemons. Ansible automates remote system management and controls the desired state. A basic Ansible environment consists of three main components:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-control-node\"><span id=\"1-control-node\"><strong>1. Control Node.<\/strong><\/span><\/h3>\n\n\n\n<p>The first step is to run Ansible commands on a control node. You can use any UNIX-like machine with Python 3.9 as your Ansible control node. The supported operating systems are Red Hat, Debian, Ubuntu, macOS, BSDs, and Windows under a Windows Subsystem for Linux (WSL) distribution. Windows without WSL does not support it as a control node.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-managed-node-nbsp\"><span id=\"2-managed-node\"><strong>2. Managed Node.\u00a0<\/strong><\/span><\/h3>\n\n\n\n<p>Ansible controls a distant system, often known as a host. The managed node does not need Ansible installed; nevertheless, it requires Python 2.7 or Python 3.5\u20133.11 to run Ansible-generated Python code. The managed node likewise requires a user account for SSH access with an interactive POSIX shell.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-3-inventory-nbsp\"><span id=\"3-inventory\"><strong>3. Inventory.\u00a0<\/strong><\/span><\/h3>\n\n\n\n<p class=\"has-black-color has-text-color\">Inventory is a list of managed nodes in orderly manner. Moreover, one or more \u2018inventory sources\u2019 offer a list of managed nodes. Your inventory can include information specific to each node, such as an IP address. Additionally, it is also used to assign groups, which allow for node selection in the Play as well as bulk variable assignment. A \u2018hostfile\u2019 is another name for an inventory source file.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-install-ansible-in-simple-steps\"><span id=\"install-ansible-in-simple-steps\"><strong>Install Ansible in Simple Steps<\/strong><\/span><\/h4>\n\n\n\n<p>1. Download the Ansible binaries for your operating system from the Ansible website.<\/p>\n\n\n\n<p>2. Install the binary into your computer.<\/p>\n\n\n\n<p>3. Make a configuration file for Ansible. The configuration file is a text file that contains the Ansible installation settings.\u00a0<\/p>\n\n\n\n<p>4. Create a playbook. A playbook is a text file containing instructions for Ansible to follow. More information on creating a playbook may be found in the Ansible documentation.<\/p>\n\n\n\n<p>5. Run through the playbook. The playbook will execute the instructions and complete the tasks that you have provided. The Ansible manual contains more information on how to run a playbook.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-ansible-nbsp\"><span id=\"how-to-install-ansible\"><strong>How to Install Ansible\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>Ansible is a powerful automation tool for controlling a variety of computer systems. To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required. Your Ansible installation\u2019s settings may be found in the configuration file, although the playbook houses the commands you want Ansible to carry out. Finally, when you are through making these documents, you can run the playbook to put their contents into action.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-1-installing-and-upgrading-ansible-using-pipx\"><span id=\"1-installing-and-upgrading-ansible-using-pipx\"><strong>1. Installing and Upgrading Ansible Using Pipx.<\/strong><\/span><\/h3>\n\n\n\n<p>Some systems may not allow Ansible installation with pip due to OS developer decisions. Pipx is a popular alternative in these cases. For pipx installation instructions, please refer to the separate guide.<\/p>\n\n\n\n<p><strong>Installing Ansible.<\/strong><\/p>\n\n\n\n<p>1. Install the full Ansible package using pipx.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Ansible and its interconnections using pipx: Run the command\u201c` pipx install \u2013include-deps ansible `<\/li>\n<\/ul>\n\n\n\n<p>2. Install minimal ansible-core package.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install ansible-core using pipx.<\/li>\n<\/ul>\n\n\n\n<p>3. You can install a specific version of ansible-core.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Ansible Core version 2.12.3 using pipx.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-2-installing-and-upgrading-ansible-using-pip\"><span id=\"2-installing-and-upgrading-ansible-using-pip\"><strong>2. Installing and Upgrading Ansible Using Pip.<\/strong><\/span><\/h3>\n\n\n\n<p>In this method, locate Python. Find and remember the path to the Python interpreter for running Ansible. Use Python 3 for the following instructions:<\/p>\n\n\n\n<p><strong>Ansible Installation<\/strong><\/p>\n\n\n\n<p>1. Install the whole Ansible package for the current user using pip in your preferred Python environment:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00a0pip install \u2013user ansible python3<\/li>\n<\/ul>\n\n\n\n<p>2. For the current user, you can install the minimal ansible-core package: Run the command<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00a0pip install \u2013user ansible-core python3<\/li>\n<\/ul>\n\n\n\n<p>3. You can also install a specific version of ansible-core:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u00a0pip install \u2013user ansible-core==2.12.3 python3<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-confirming-installation\"><span id=\"confirming-installation\"><strong>Confirming Installation.<\/strong><\/span><\/h4>\n\n\n\n<p>1. To test Ansible installation, check the version:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible \u2013version<\/li>\n<\/ul>\n\n\n\n<p>2. This command displays the version for the installed ansible-core package.<\/p>\n\n\n\n<p>3. Check the installed version of the Ansible package.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible-community \u2013version<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-ansible-ubuntu-nbsp\"><span id=\"install-ansible-ubuntu\"><strong>Install Ansible Ubuntu\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>Ansible can be installed on any *nix-based operating system. Ubuntu is one of the most popular options available. Let\u2019s get the process started by going over how to make it happen.<\/p>\n\n\n\n<p>1. Use your preferred SSH client to connect to your soon-to-be Ansible controller on an Ubuntu host.<\/p>\n\n\n\n<p>2. Ansible is packaged, downloaded, and installed using the apt package manager. Run an apt update to ensure that apt can detect the correct source and download any dependent packages.<\/p>\n\n\n\n<p>3. Install Ansible by installing the software-properties-common package. Install software-properties-common using sudo apt.<\/p>\n\n\n\n<p>4. Thereafter, as an apt repository, add the ansible\/ansible personal package archive (PPA). As a result, this repository is handled by Red Hat rather than Ubuntu sources, you must manually add it.\u00a0<\/p>\n\n\n\n<p>You can use this command to do it:<strong> sudo apt-add-repository \u2013yes \u2013update ppa:ansible\/ansible<\/strong><\/p>\n\n\n\n<p>5. At this point, use the apt install command to install the ansible package.\u00a0<\/p>\n\n\n\n<p>6. When complete, execute the Ansible \u2013version command to ensure Ansible is installed. If everything is in order, run the command <strong>ansible\u2013version<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-ansible-on-windows-nbsp\"><span id=\"install-ansible-on-windows\"><strong>Install Ansible on Windows\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>Ansible is specifically a solution for managing and monitoring remote servers that use infrastructure as code. Ansible, therefore, must be operated on a Linux-based system. If you wish to use its features on a Windows 10 PC, this can be a problem. Evidently, there are, however, ways to install Ansible on Windows. This section, will in like manner go over various methods for installing Ansible on Windows 10.<\/p>\n\n\n\n<p>Here are the steps on how to install Ansible on Windows:<\/p>\n\n\n\n<p>1. Install the Windows Subsystem for Linux (WSL).<\/p>\n\n\n\n<p>2. Open a WSL terminal and run the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pip install \u2013user ansible<\/li>\n<\/ul>\n\n\n\n<p>3. To confirm that Ansible is installed, run the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible \u2013version<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-method-2-using-cygwin\"><span id=\"method-2-using-cygwin\"><strong>Method 2: Using Cygwin<\/strong><\/span><\/h3>\n\n\n\n<p>Overall, Cygwin is a POSIX-compliant environment that allows you to run Unix-like operating system tools and programs on Microsoft Windows. Ansible is not included in the normal Cygwin installation, despite the fact that it contains hundreds of utilities for Unix-based systems. During the installation procedure, you must manually add Ansible.<\/p>\n\n\n\n<p>Follow these instructions to install Ansible on Windows using Cygwin:<\/p>\n\n\n\n<p>1. Save the Cygwin installation file to your computer. This file works with both 32-bit and 64-bit versions of Windows 10. It will eventually install the appropriate version for your system.<\/p>\n\n\n\n<p>2. Double-click the Cygwin installation file. To proceed, click Next on the installation wizard\u2019s first screen.<\/p>\n\n\n\n<p>3. Click Next after selecting Install from the Internet as the download source.<\/p>\n\n\n\n<p>4. In the Root Directory section, enter the location of the programme, then click Next.<\/p>\n\n\n\n<p>5. Select where you wish to install your Cygwin packages in the Local Package Directory area, then click Next.<\/p>\n\n\n\n<p>6. Select the proper Internet connection option.<\/p>\n\n\n\n<p>7. Click Next after selecting one of the available mirrors to download the installation files.<\/p>\n\n\n\n<p>8. Change the View option on the Select Packages screen to full screen and type \u2018ansible\u2019 into the search bar.<\/p>\n\n\n\n<p>9. You can review the installation settings on this screen. Click Next to confirm and begin the installation procedure.<\/p>\n\n\n\n<p>10. The whole process will download and install all of the packages you\u2019ve chosen, including Ansible.<\/p>\n\n\n\n<p>11. After the installation is complete, select whether you want to add a Cygwin desktop and Start Menu icon, then click Finish to exit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-install-ansible-on-linux\"><span id=\"install-ansible-on-linux\"><strong>Install Ansible on Linux<\/strong><\/span><\/h2>\n\n\n\n<p>Here are the steps on how to install Ansible on Linux:<\/p>\n\n\n\n<p>1. Make sure that you have the necessary prerequisites installed before installing Ansible. These prerequisites however, vary depending on your distribution of Linux.<\/p>\n\n\n\n<p>2. Install the Ansible package. This can be done using your distribution\u2019s package manager.<\/p>\n\n\n\n<p>3. Verify that Ansible is installed and working correctly by running the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible \u2013version<\/li>\n<\/ul>\n\n\n\n<p>If Ansible is installed and working correctly, you should see the following output:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible 2.12.3<\/li>\n<\/ul>\n\n\n\n<p>You can now start using Ansible to manage your IT infrastructure. For more information, please refer to the Ansible documentation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-ansible-on-cmd-nbsp\"><span id=\"how-to-install-ansible-on-cmd\"><strong>How to Install Ansible on CMD?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Python. Getting Python running on Windows is the first order of activity.<\/li>\n\n\n\n<li>Set up pip. After getting Python set up, you\u2019ll want to get the Python package management, pip.<\/li>\n\n\n\n<li>Put Ansible to work.<\/li>\n\n\n\n<li>Configure Ansible for use.\u00a0<\/li>\n\n\n\n<li>Evaluate Ansible.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-ansible-using-pip\"><span id=\"how-to-install-ansible-using-pip\"><strong>How to Install Ansible Using Pip?<\/strong><\/span><\/h2>\n\n\n\n<p>Here are the steps on how to install Ansible using Pip:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure that you have Python 3 and Pip installed on your system.<\/li>\n\n\n\n<li>Open a terminal and navigate to the directory where you want to install Ansible.<\/li>\n\n\n\n<li>Run the following command to install Ansible: pip install ansible<\/li>\n\n\n\n<li>Verify that Ansible is installed and working correctly by running the following command: ansible \u2013version<\/li>\n<\/ul>\n\n\n\n<p>If Ansible is installed and working correctly, you should see the following output: ansible 2.12.3<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-to-install-ansible-using-apt-nbsp\"><span id=\"how-to-install-ansible-using-apt\"><strong>How to Install Ansible Using Apt?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to the Ubuntu Server that will host Ansible.<\/li>\n\n\n\n<li>Install the required repository by running <strong>sudo apt-add-repository ppa:ansible\/ansible.<\/strong><\/li>\n\n\n\n<li>Use the command sudo apt-get update to update apt.<\/li>\n\n\n\n<li>Use the command sudo apt-get install ansible -y to install Ansible.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-know-if-ansible-is-installed-nbsp\"><span id=\"how-do-i-know-if-ansible-is-installed\"><strong>How Do I Know If Ansible Is Installed?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>To know if Ansible is installed, you can run the following command:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible \u2013version<\/li>\n<\/ul>\n\n\n\n<p>If Ansible is installed and working correctly, you should see the following output:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ansible 2.12.3<\/li>\n<\/ul>\n\n\n\n<p>Here are some additional tips:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure that you have the necessary prerequisites installed before installing Ansible. These prerequisites vary depending on your operating system.<\/li>\n\n\n\n<li>If you are installing Ansible on a Windows system, you will need to install the Windows Subsystem for Linux (WSL) first. WSL is a compatibility layer that allows you to run Linux software on Windows.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-which-command-is-used-to-install-ansible-nbsp\"><span id=\"which-command-is-used-to-install-ansible\"><strong>Which Command Is Used to Install Ansible?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>Run the following command from your control node to add the official project\u2019s PPA (personal package archive) to your system\u2019s list of sources: sudo apt-add-repository ppa: ansible\/ansible.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-do-i-start-ansible-in-linux-nbsp\"><span id=\"how-do-i-start-ansible-in-linux\"><strong>How Do I Start Ansible in Linux?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>To start Ansible in Linux, you can follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Make sure that you have Python 3 and Pip installed on your system.<\/li>\n\n\n\n<li>Open a terminal and navigate to the directory where you want to install Ansible.<\/li>\n\n\n\n<li>Run the following command to install Ansible: pip install ansible<\/li>\n\n\n\n<li>Verify that Ansible is installed and working correctly by running the following command: ansible \u2013version<\/li>\n\n\n\n<li>If Ansible is installed and working correctly, you should see the following output: ansible 2.12.3<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-where-can-i-install-ansible-nbsp\"><span id=\"where-can-i-install-ansible\"><strong>Where Can I Install Ansible?\u00a0<\/strong><\/span><\/h2>\n\n\n\n<p>You can install Ansible in one of the following ways: Install the most recent version using your operating system\u2019s package manager (for Red Hat Enterprise Linux (TM), CentOS, Fedora, Debian, or Ubuntu). Moreover, you can install using pip (the Python package manager).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-can-we-install-ansible-without-python\"><span id=\"can-we-install-ansible-without-python\"><strong>Can We Install Ansible Without Python?<\/strong><\/span><\/h2>\n\n\n\n<p>Except for the raw and script modules, all ansible operations require Python, however, on the destination node. Please keep in mind that these two modules are basically intended to install ansible needs (i.e. Python and its mandatory modules) on targets that lack them.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\"><span id=\"conclusion\"><strong>Conclusion<\/strong><\/span><\/h2>\n\n\n\n<p>In summary, the prior explanation concludes the article on the topic of \u2018Ansible Installation\u2019. In this section, we have acquired knowledge regarding the nature and performance of Ansible, as well as the process of installing the Ansible management tool. If you are installing Ansible on a Windows system, you will need to install the Windows Subsystem for Linux (WSL) first. WSL is a compatibility layer that allows you to run Linux software on Windows. Once you have installed Ansible, you can start using it to manage your IT infrastructure. Ansible can be used to automate a wide variety of tasks, such as provisioning servers, configuring software, and deploying applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-related-posts\"><span id=\"related-posts\"><strong>Related Posts<\/strong><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/businessyield.com\/tech\/technology\/ansible-vs-terraform\/\" target=\"_blank\" rel=\"noreferrer noopener\">ANSIBLE VS TERRAFORM: What Are Key Differences?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/technology\/scale-computing\/\" target=\"_blank\" rel=\"noreferrer noopener\">SCALE COMPUTING: Profile, Features, Reviews &amp; Alternatives 2023<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/technology\/apt-get-update-vs-apt-get-upgrade\/\" target=\"_blank\" rel=\"noreferrer noopener\">APT-GET UPDATE VS APT-GET UPGRADE: Whats the Difference?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/businessyield.com\/tech\/technology\/azure-data-factory\/\" target=\"_blank\" rel=\"noreferrer noopener\">AZURE DATA FACTORY: What It Means &amp; All to Know<\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-references\"><span id=\"references\"><strong>References<\/strong><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.simplilearn.com\/tutorials\/ansible-tutorial\/ansible-installation\" target=\"_blank\" rel=\"noreferrer noopener\">Simplilearn.com<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/docs.ansible.com\/ansible\/latest\/installation_guide\/intro_installation.html#pip-install\" target=\"_blank\" rel=\"noreferrer noopener\">Ansible.com<\/a> Official website<\/li>\n\n\n\n<li><a href=\"https:\/\/adamtheautomator.com\/install-ansible\/#Installing_Ansible_on_CentOS\" target=\"_blank\" rel=\"noreferrer noopener\">Adamtheautomator.com<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/phoenixnap.com\/kb\/install-ansible-on-windows\" target=\"_blank\" rel=\"noreferrer noopener\">Phoenixnap.com<\/a><\/li>\n<\/ul>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"There are multiple configuration management solutions accessible to developers to help with remote server management; however, Ansible stands&hellip;\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":285,"featured_media":9164,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[11],"tags":[],"class_list":{"0":"post-9146","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-how-to"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HOW TO INSTALL ANSIBLE<\/title>\n<meta name=\"description\" content=\"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HOW TO INSTALL ANSIBLE\" \/>\n<meta property=\"og:description\" content=\"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/\" \/>\n<meta property=\"og:site_name\" content=\"Business Yield Technology\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-26T11:26:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-26T11:26:26+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"665\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ukadike Chisom\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ukadike Chisom\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/\"},\"author\":{\"name\":\"Ukadike Chisom\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/cf8c8c702beab6f0c7d058abdd7f288b\"},\"headline\":\"HOW TO INSTALL ANSIBLE: Step-By-Step Guide\",\"datePublished\":\"2023-09-26T11:26:25+00:00\",\"dateModified\":\"2023-09-26T11:26:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/\"},\"wordCount\":2055,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/09\\\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1\",\"articleSection\":[\"How-to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/\",\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/\",\"name\":\"HOW TO INSTALL ANSIBLE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/09\\\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1\",\"datePublished\":\"2023-09-26T11:26:25+00:00\",\"dateModified\":\"2023-09-26T11:26:26+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/cf8c8c702beab6f0c7d058abdd7f288b\"},\"description\":\"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/09\\\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/businessyield.com\\\/tech\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2023\\\/09\\\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1\",\"width\":1000,\"height\":665,\"caption\":\"Image by Freepik\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/how-to\\\/how-to-install-ansible\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HOW TO INSTALL ANSIBLE: Step-By-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#website\",\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/\",\"name\":\"Business Yield Technology\",\"description\":\"Best Tech Reviews, Apps, Phones, &amp; Gaming\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/#\\\/schema\\\/person\\\/cf8c8c702beab6f0c7d058abdd7f288b\",\"name\":\"Ukadike Chisom\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g\",\"caption\":\"Ukadike Chisom\"},\"description\":\"As a content writer with a keen business acumen, I thrive at smoothly integrating captivating storytelling with a strategic awareness of market dynamics. My ability to create compelling narratives directly contributes to the achievement of corporate objectives, making me a valued asset in driving brand success.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ukadike-chisom-8782b9273\\\/\"],\"url\":\"https:\\\/\\\/businessyield.com\\\/tech\\\/author\\\/ukadike\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HOW TO INSTALL ANSIBLE","description":"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/","og_locale":"en_US","og_type":"article","og_title":"HOW TO INSTALL ANSIBLE","og_description":"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.","og_url":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/","og_site_name":"Business Yield Technology","article_published_time":"2023-09-26T11:26:25+00:00","article_modified_time":"2023-09-26T11:26:26+00:00","og_image":[{"width":1000,"height":665,"url":"http:\/\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg","type":"image\/jpeg"}],"author":"Ukadike Chisom","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Ukadike Chisom","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#article","isPartOf":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/"},"author":{"name":"Ukadike Chisom","@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/cf8c8c702beab6f0c7d058abdd7f288b"},"headline":"HOW TO INSTALL ANSIBLE: Step-By-Step Guide","datePublished":"2023-09-26T11:26:25+00:00","dateModified":"2023-09-26T11:26:26+00:00","mainEntityOfPage":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/"},"wordCount":2055,"commentCount":0,"image":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1","articleSection":["How-to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/","url":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/","name":"HOW TO INSTALL ANSIBLE","isPartOf":{"@id":"https:\/\/businessyield.com\/tech\/#website"},"primaryImageOfPage":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#primaryimage"},"image":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1","datePublished":"2023-09-26T11:26:25+00:00","dateModified":"2023-09-26T11:26:26+00:00","author":{"@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/cf8c8c702beab6f0c7d058abdd7f288b"},"description":"To install Ansible, download the binaries from the Ansible website and run it on your system. A playbook and Ansible configuration file will also be required.","breadcrumb":{"@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#primaryimage","url":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1","contentUrl":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1","width":1000,"height":665,"caption":"Image by Freepik"},{"@type":"BreadcrumbList","@id":"https:\/\/businessyield.com\/tech\/how-to\/how-to-install-ansible\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/businessyield.com\/tech\/"},{"@type":"ListItem","position":2,"name":"HOW TO INSTALL ANSIBLE: Step-By-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/businessyield.com\/tech\/#website","url":"https:\/\/businessyield.com\/tech\/","name":"Business Yield Technology","description":"Best Tech Reviews, Apps, Phones, &amp; Gaming","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/businessyield.com\/tech\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/businessyield.com\/tech\/#\/schema\/person\/cf8c8c702beab6f0c7d058abdd7f288b","name":"Ukadike Chisom","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9fa5e0b7d8411e0f9d14041bbf2db58ae78555e043de07f1896c136358a3b713?s=96&d=mm&r=g","caption":"Ukadike Chisom"},"description":"As a content writer with a keen business acumen, I thrive at smoothly integrating captivating storytelling with a strategic awareness of market dynamics. My ability to create compelling narratives directly contributes to the achievement of corporate objectives, making me a valued asset in driving brand success.","sameAs":["https:\/\/www.linkedin.com\/in\/ukadike-chisom-8782b9273\/"],"url":"https:\/\/businessyield.com\/tech\/author\/ukadike\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/businessyield.com\/tech\/wp-content\/uploads\/sites\/2\/2023\/09\/standard-quality-control-collage-concept-1.jpg?fit=1000%2C665&ssl=1","jetpack_sharing_enabled":true,"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/9146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/users\/285"}],"replies":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/comments?post=9146"}],"version-history":[{"count":8,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/9146\/revisions"}],"predecessor-version":[{"id":10548,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/posts\/9146\/revisions\/10548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/media\/9164"}],"wp:attachment":[{"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/media?parent=9146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/categories?post=9146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/businessyield.com\/tech\/wp-json\/wp\/v2\/tags?post=9146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}