Monday, April 9, 2018

Ansible playbook for installing Apache on Redhat Linux

---
 - hosts: Apache_Group
   become: true
   tasks:
     - name: install the latest version of Apache
       yum:
         name: httpd
         state: latest

     - name: ensure apache started
       service: name=httpd state=started enabled=yes

5 comments:

  1. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
    Devops Training in Bangalore

    ReplyDelete
  2. This post is a fascinating piece of recent history, documenting one of India's biggest cybersecurity scares. The fact that a single malware infection in a third-party ATM service provider (Hitachi) could put over 3.2 million cards at risk really shows how fragile and interconnected our financial systems can be. For anyone looking to build a career in IT, especially in the banking or fintech sectors, understanding how to prevent such incidents is crucial. It involves not just security protocols but also robust automation, continuous monitoring, and resilient infrastructure—all core DevOps principles. To gain these skills, I've been exploring the curriculum at DevOps Course in Electronic City, which covers system reliability and automated security practices. Thanks for preserving this important public service announcement.

    ReplyDelete