- Ansible is a open-source IT configuration managemement, deployment & orchestration tool. It aims to provide large productivity gains to a wide variety of Automation challages.
- Ansible Automation Platform has grown over the past years to provide powerful automation solutions that work for operators, administrators and IT decision makers across a variety of technology domains. It’s a leading enterprise automation solution from Red Hat®, a thriving open source community, and the de facto standard technology of IT automation.
- Ansible works on Push mechanism.
- We can use this tool whatever our servers are in on-premises or in the cloud.
- Ansible use YAML(Yet Another Markup Language) file to write the playbooks.
- Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.
- Jenkins can be installed through native system packages, Docker, or even run standalone by any machine with a Java Runtime Environment (JRE) installed.
- The full form of AWS is Amazon Web Services. It is a platform that offers flexible, reliable, scalable, easy-to-use and, cost-effective cloud computing solutions.
- AWS is a comprehensive, easy to use computing platform offered Amazon. The platform is developed with a combination of infrastructure as a service (IaaS), platform as a service (PaaS) and packaged software as a service (SaaS) offerings.
- Amazon Web Services offers a wide range of different business purpose global cloud-based products. The products include storage, databases, analytics, networking, mobile, development tools, enterprise applications, with a pay-as-you-go pricing model.
- Developer Server
- Ansible Server
- Jenkins Server
- Web Server
- Download and Install the jenkins.
- Install the git in jenkins server.
- Public Ip Address of jenkins server IP:8080
- Access this IP in new tab.
- Install recommended plugins and set username and passwd.
- Connect the Jenkins server with Ansible server and take access of Ansible Server.
- Install the additional plugins from jenkins.
- Cretae a new job with freestyle project.
- Install Ansible and required things.
- Generate the key {ssh-keygen}.
- Create a playbook.yml file and write the required ciommand in it.
- Connect the Ansible server with Web server and take access of Web Server.
- Install the Apache Server.
- Start and enable the apache server.
- Create password.
- Now integrate Jenkins with github, copy the url of jenkins.
- Open the setting of repo, find the webhook and create a new webhook and paste the url of jenkins & fill the required fileds in the the webhook and click OK.