Ansible Task 1

Ansible Task 1

 Write an Ansible PlayBook that does the following operations in the managed nodes:

?? Configure Docker & Install it.

?? Start and enable Docker services.

?? Pull the httpd server image from the Docker Hub.

?? Copy the html code to the directory in the container .

?? Run the httpd container and expose it to the public .

Lets do this task thought ansible.

What is Ansible ??

Ansible is an open-source automation tool, or platform, used for IT tasks such as configuration management, application deployment, intraservice orchestration, and provisioning. Automation is crucial these days, with IT environments that are too complex and often need to scale too quickly for system administrators and developers to keep up if they had to do everything manually. Automation simplifies complex tasks, not just making developers’ jobs more manageable but allowing them to focus attention on other tasks that add value to an organization. In other words, it frees up time and increases efficiency. And Ansible, as noted above, is rapidly rising to the top in the world of automation tools. Let’s look at some of the reasons for Ansible’s popularity.

Ansible Playbooks ??

Ansible playbooks are like instruction manuals for tasks. They are simple files written in YAML, which stands for YAML Ain’t Markup Language, a human-readable data serialization language. Playbooks are really at the heart of what makes Ansible so popular is because they describe the tasks to be done quickly and without the need for the user to know or remember any particular syntax. Not only can they declare configurations, but they can orchestrate the steps of any manually ordered task, and can execute tasks at the same time or at different times.

here are Screen Shot

step 1:

No alt text provided for this image

step 2:

No alt text provided for this image

step 3:

No alt text provided for this image

step 4:

No alt text provided for this image

step 5:

No alt text provided for this image


Thank you so much for reading


要查看或添加评论,请登录

PRAFULL WAIDANDE的更多文章

  • Linux: The Backbone of Modern Technology ??

    Linux: The Backbone of Modern Technology ??

    ?? Linux: The Backbone of Modern Technology ?? Linux is far more than just an operating system—it’s the cornerstone of…

  • Java Script Workshop

    Java Script Workshop

    #Day1 Summary:- 1)learned about theBrowser is an interpreter where the browser understands the HTML, CSS, and…

  • Automation Using Ansible - Demo

    Automation Using Ansible - Demo

    28 December 2020 1) About Automation. 2) About Provision.

  • Flutter Chatting With Map Application Task 5

    Flutter Chatting With Map Application Task 5

    ??Task 5 - Flutter App Development ?? Description: 1) Create a chat app representing beautiful ui 2)store/retrieve user…

  • Flutter Application using Firestore Task 4

    Flutter Application using Firestore Task 4

    ?? Task 4 : Flutter App Development?? 1. Create an app that can run any linux command using API 2.

  • Flutter App Task 3 | Run Linux command Using API

    Flutter App Task 3 | Run Linux command Using API

    ?? Task 3 : Flutter App Development?? 1. Create an app that can run any linux command using API 2.

  • Deploy Loadbalancer and manage webserver using Ansible

    Deploy Loadbalancer and manage webserver using Ansible

    Deploy Loadbalancer and manage webserver using Ansible ?? Launch an AWS instance with the help of ansible. ?? Retrieve…

  • Flutter Task 6 | Animation Application

    Flutter Task 6 | Animation Application

    create amazing and unique animation application. Here Are Screenshots: ( Here i have Created two File's first is Main…

  • Python CGI - Task -2

    Python CGI - Task -2

    Successfully Completed Task 2 Given by Mr. Vimal Daga Sir under IIEC Rise.

  • Hybrid Multi-Cloud Computing Task-6

    Hybrid Multi-Cloud Computing Task-6

    Hybrid Multi-Cloud Computing Task-6 Deploy the WordPress application on Kubernetes and AWS using terraform including…

社区洞察

其他会员也浏览了