What is the Ansible Core?

Definition and Features
Feb 23, 2024
What is the Ansible Core?

Introduce

Thank you for clicking through to my arcticle. I've been a DevOps engineer for 2 years in dev-team of 7 engineers.

My name is MINSEOK, LEE, but I use Unchaptered as an alias on the interenet. So, you can call me anythings "MINSEOK, LEE" or "Unchaptered" to ask something.

Prerequisites

What is the Ansible Core?

Ansible Core is most important parts of ansible.
It's a package that contains the minimum necessary to get things working. For example, there will be commands and options.

And Ansible Tower package this up, adds a GUI and adds options like scheduling.

Where to install Ansible Core?

In previous article, we prepare 4 VMs.
Ansible-Server and Ansible-Node1/2/3.

We Install ansible core in Ansible-Server.

Install Ansible Core

  1. If your ping google.com command is not working, you must change DNS Server Name.

If you encounter this error about DNS resolve.
You must change DNS Server about 168.125.53.1 or 168.126.63.2. This DNS Server is KT's Public DNS Server.

1. vi /etc/resolv.conf and type nameserver 168.125.53.1 and save it [ESC] > type [:wq].

  1. Set up EPEL(Extra Packages for Enterprise Linux) using yum install epel-release -y.

  2. Install ansible core using yum install ansible -y.

  3. Run ansible all -m ping -k to test ansible.

  4. Change ansible hosts using vi /etc/ansible/hosts.

Share article
RSSPowered by inblog