Workshop Description:

Ansible Workshop is designed for system administrators who need to automate provisioning, configuration, application deployment, and orchestration. Students will learn how to install and configure Ansible on a management workstation and prepare managed hosts for automation. Students will also write Ansible Playbooks to automate tasks and run them to ensure servers are correctly deployed and configured.

Who should attend?

  • System and Cloud Administrators
  • Developers
  • Technical Leads
  • RHCSA in Red Hat Enterprise Linux or equivalent

What you will learn?

  • How to run ad hoc commands
  • Automate Linux system administration tasks on managed hosts with Ansible.
  • Learn how to write Ansible Playbooks to standardize task execution.
  • Manage encryption for Ansible with Ansible Vault.

Overview:

Ansible is one of the most popular open-source Automation Software. It is written in Python Language and it is available in Linux like Red Hat, Debian, Ubuntu, etc., and Mac. To overcome routine tasks in a network and reduce manual configurations and settings.

Exercises:

Exercise 1.1 – Check the Prerequisites
Exercise 1.2 – Running Ad-hoc Commands
Exercise 1.3 – Writing Your First Playbook
Exercise 1.4 – Conditionals

Steps to Grade the tasks

  • wget https://raw.githubusercontent.com/Unnati-TD/workshops/master/Ansible_script.sh
  • chmod +x Ansible_script.sh
  • ./Ansible_script.sh