First, we need to install Python via yum: Once the Ansible repository is finished downloading, we need to install some dependencies. Git clone git://github-com.ez.megapaper.ir/ansible/ansible.git -recursive To begin, let’s clone the GitHub repository: While this seems like a much more involved process, it is just as straightforward as the yum install. If using third-party package repositories is impractical or impossible, your next best option is compiling Ansible via source. To test things out, simply ping your Ansible server on localhost. Simply pop open a terminal and run the following command: Installing Ansible via yum works much the same way as any other yum package. We still need to install Ansible, but we’re done with the setup portion. This tells yum about all the new packages you can install.Īnd that’s it! Well, not really. Sudo rpm -i Īfter installing EPEL, you need to update your package list. Once you’ve downloaded that file, navigate to the download location in a terminal and install the RPM using the following command: ![]() To do so, head on over to and download the newest version of epel-release for your version of RHEL. Via YumĪnsible is not available in the default RHEL repositories, so we need to install Extra Packages for Enterprise Linux (EPEL) in order to install it via yum. ![]() However, in the event you are working in a closed system, compiling from source may be your only option. There are two ways to install Ansible-via yum, or directly from source. Tack onto that my recent foray back into the world of Red Hat and I have a lot to learn, starting with getting Ansible installed and running on RHEL. Until recently, the majority of my configuration management experience has been rooted solely in Puppet. As far as automated configuration management tools go, Ansible is “the new hotness” on the market.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |