In this article, we will discuss how to use Ansible to automate CloudFlare DNS management. Ansible has modules for almost everything and it includes Cloudflare the popular CDN and DNS provider Since Cloudflare is part of the community.general collection of ansible - it is likely you would have it installed[...]
Read moreCategory: Ansible
Ansible URI module Examples - How to use Ansible URI | Devops Junction
Ansible has become a widely accepted automation platform not just for Infrastructure Automation but for various other use cases Some of them are Web and API automation, Monitoring Automation, Cloud Automation and Infrastructure as a code like Terraform In this article, we are going to see how to use Ansible[...]
Read moreAnsible Wait for URL to respond or Retry - WEB and API | Devops Junction
Ansible is used for various types of Automations and use cases. Web Automation, Web Scraping and API Automation are some of them when it comes to Web or API automation there are a lot of URLs and endpoints Sometimes they respond immediately the first time, and sometimes you have to[...]
Read moreAnsible Playbook to install Tomcat - how-to guide | Devops Junction
In this article, we are going to share the Ansible playbook for tomcat installation. If you are new to Ansible, refer to our introductory article on the Ansible playbook and come back. Now let us move on with our objective. Tomcat, A web application server powered by J2EE and the most[...]
Read moreAnsible Slack - How to send Slack notification from Ansible
In this post let us quickly show you how to send slack notifications from the Ansible playbook. Being notified is always good instead of sitting and waiting for a task to complete and looking at the screen. Also if something fails, we can immediately look into it with a quick[...]
Read moreAnsible Retry Examples - Retry a task until condition met | DevopsJunction
in this article, we are going to see how to retry an ansible task until it meets a certain condition or validation. It is more like do sometask until somecondition kind of setup available in all the programming and scripting languages Ansible lets you execute a task until a condition[...]
Read moreAnsible List Examples - How to create and append items to List
In this article, we are going to learn about Ansible List. and How to create Ansible List and append items to it. The LIST is a type in data structure and is widely used in all programming languages. It is to store a group of heterogeneous elements. We are NOT[...]
Read moreAnsible Playbook to install KAFKA on Ubuntu - How to | Devops Junction
In this article, we are going to see how to install Kafka on ubuntu with Ansible. We created a simple playbook to download and install Kafka and start it. Here is the list of tasks the playbook is designed to do Perform apt update Install JRE needed for Kafka and[...]
Read moreAnsible Pre Tasks and Post Tasks Example | Devops Junction
In this article, we are going to see how to use ansible pre tasks and post tasks with examples. What is Ansible pre_tasks? Ansible pretask is a conditional execution block that runs before running the play. It can be a task with some prerequisites check (or) validation Some examples we[...]
Read moreAnsible Copy Examples - How to copy files and directories with Ansible
In this article, we are going to see practical examples of Ansible copy. We will be seeing various examples of ansible copy To keep things simple we have created the playbook that you can test in your localhost itself, In other words, ansible control machine you can change the hosts[...]
Read more