Learning-Ansible-2-Second-Edition icon indicating copy to clipboard operation
Learning-Ansible-2-Second-Edition copied to clipboard

This is the code repository for Learning Ansible 2 Second Edition, published by Packt.

GitHub issues GitHub forks GitHub stars GitHub license

Learning Ansible 2 Second Edition

This is the code repository for Learning Ansible 2 Second Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

Instructions and Navigation

All of the code is organized into folders. For example, Chapter 02.

Code Snippet:

---
- hosts: all
  remote_user: fale
  tasks:
  - name: Ensure the HTTPd package is installed
    yum:
      name: httpd
      state: present
    become: True
  - name: Ensure the HTTPd service is enabled and running
    service:
      name: httpd
      state: started
      enabled: True
    become: True

Related Ansible Products:

Suggestions and Feedback

Click here if you have any feedback or suggestions.