Ansible is an open-source software provisioning, configuration management, and application-deployment tool. It runs on Unix-like systems and can configure both Linux as well as Windows.
Why Install ansible?
Ansible allows you to simply claim control of your environment. hence, increase your productivity by automating your IT infrastructure, Application Deployment, and Configuration Management.
- simple model-driven configuration management.
- allows multi-node deployment, and remote task execution system.
- It works over SSH and
- Ansible is agentless, which means, it does not require additional software or daemons to manage remote nodes.
Steps to install Ansible on Oracle Linux
In recent releases of Oracle Linux, it comes with the Public yum repository file. though. In the following steps, we will enable it.
First, open the public yum repository file.
vi /etc/yum.repos.d/public-yum-ol7.repo
Then, navigate to the ol7_developer_EPL section to enable it. Just change the value of enabled=0 to 1 then save and exit.
Check if ansible in the repository by executing
[root@s59 ~]#yum list ansible Loaded plugins: langpacks, ulninfo Available Packages ansible.noarch 2.7.9-1.el7 ol7_developer
install ansible from by executing using YUM package manager
# yum install ansible -y
Now, you have Ansible installed. Next, you configure the servers you will control. therefore, read these articles to have a full-fledged Ansibled controlled environment.