As of now we are keeping our password in the inventory file, which is not at all a good practice. Let’s remove our passwords from there and login via key based login which is the ideal approach. ssh-keygen This...
Author - Deepak Sood
Printing Fact Variables using debug module Now let’s learn how to fetch any value from a json output. Later in the blog we will be doing that. A json is a form of dictionary in python. Dictionary can have a key value...
Playbooks are the files where the Ansible code is written. Playbooks are written in YAML format. YAML stands for Yet Another Markup Language. Playbooks are one of the core features of Ansible and tell Ansible what to execute...
Till now we have seen that we can manage the configuration of ansible at path /etc/ansible/ansible.cfg file. You can create your own configuration file. The order of the configuration file will be as follows with the defined...
Inventory, Groups, and Group of Groups Inventory is a text file where we define the host information that we are going to manage through Ansible. The default path of the inventory file is /etc/ansible/hosts/ but we...
What is Configuration Management? Configuration Management can be considered as a process that manages the configuration of IT infrastructures, like operating systems, network devices, applications, cloud services, and...
Build Triggers So far we have been triggering the build using 2 ways: ManuallyBy setting up a downstream job(which has an automatic trigger) Let’s trigger the build remotely Copied the URL The url created...
Jenkins Master/Slave Use cases for Master/Slave: Load distributionCross Platform BuildsSoftware Testing Prerequisites for Node are: any OS, network access from master, jdk, user, directory with User ownership, Tools as...
Static Code Analysis Code Analysis is done to check the vulnerabilities in the code or to check any functional errors before deployment. Code Analysis will reveal the future issues which may arise later on. For different...
Emails are sent via smtp server. Therefore, we need to set the smtp server on our Jenkins in Configure System. In this example I would be using smtp server by gmail. If you are using gmail, you need to disable the captcha and...