Skip to content

atingupta2005/Automation-with-ansible-playbooks

Repository files navigation

  1. Introduction
    1. Before Ansible or Any other configuration Management tools
  2. Ansible Architecture
  3. Installing and Configuring Ansible
    1. Ansible Installation and Configuration
    2. Ansible Directory Structures
    3. How to disable host key checking?
    4. Inventory file with Groups and Group of Groups
    5. Different locations of ansible.cfg file with priority
    6. Review on Ansible Architecture
    7. Installing Ansible Engine
  4. Ansible Ad-hoc commands
    1. Introduction to Ad-hoc commands
    2. Basic syntax for Ansible Ad-hoc commands
    3. How Ansible Works?
    4. Executing Ad-hoc commands or Playbooks
    5. Transfer a file from Ansible Engine to Nodes using copy module
    6. Download a file from Ansible Managed Nodes to Ansible Engine
    7. Create or Delete a file or directory on Managed Nodes
    8. List of different modules to work with files
    9. Install a package like git, httpd, mysql, git on Linux Systems using yum module
    10. Command Module
  5. Ansible Facts and Variables
    1. Introduction to Ansible Facts
    2. How to create and work with custom facts?
    3. Ansible Inventories
  6. Introduction to Docker and Containerization 1.
  7. Static and Dynamic Inventories
    1. Inventory Types and Working with AWS EC2 Dynamic Inventory Script
    2. Simple Custom Dynamic Inventory Script creation
    3. How to work with Managed nodes if managed nodes are not installed with Python
    4. Working with managed nodes using raw module
  8. Password Authentication setup and explanation
    1. Working with Managed Nodes using a Password
    2. Password Authentication
    3. Executing Ansible tasks with default and different users on Managed Nodes
  9. Ansible Variables
    1. Basic introduction to Ansible variables
  10. Ansible Playbooks
    1. Introduction to Playbooks with task and play concepts
    2. Writing Simple Playbooks for basic understanding
    3. Basic Key Points to run Ansible Playbooks
  11. Basic concepts to write Playbooks
    1. Working with different variables
    2. Print any message
    3. Variable and data types
    4. Data Structures/ Data Collections
    5. simple playbook to understand the usage of register and set_fact
    6. How to read a variable and print using an ansible playbook ?
    7. How to read variables from a yaml/json file ?
    8. Working with command line arguments
    9. Working with Gather facts variables or setup module variables
    10. working with inventory_hostname and hostvars variables
  12. Using Helm to Automate Microservices Deployment on Kubernetes
    1. Understanding Helm Basics and Setting up Kubernetes Cluster
    2. Using Helm Charts to deploy Spring Boot Microservice to Kubernetes
    3. Using Helm Charts to manage Releases to Kubernetes Cluster
    4. Hands-On
  13. Visual Studio Code Editor for Ansible Playbooks
    1. Installing and using Visual Studio Code Editor for Ansible Playbooks
    2. Operations on strings and numbers using Playbooks (Filters and Methods )
    3. Arithmetic operators on numbers
    4. simple practice on Arithmetic Operators
    5. Filters and Methods of Ansible Playbooks
  14. Operators to work with tasks
    1. Comparison operators
    2. Membership operators and Test Operators
    3. Logical operators
  15. Conditional Statements
    1. Settings for Ubuntu server to consider it as a Managed Node
    2. How to use when in a conditional statement?
    3. Inline conditional statement
  16. Introduction to handlers
  17. Loops
  18. Tags
  19. Error Handling
    1. ignore_errors
    2. failed_whenblock
    3. rescue
    4. always
    5. Error Handling with block and rescue
  20. Ansible reusable concepts with: import_tasks,include_tasks
    1. Reusable tasks with import and include
  21. loacal_action vs delegate_to
    1. Usage of local_action and delegate_to
  22. Tomcat Installation and Configuration using Playbook
    1. Java and Tomcat installation and configuration using template module
  23. Template module
    1. Introduction to template module with variables
    2. Template variables, conditional statements and loops
  24. Jinja Templating
    1. Template architecture
    2. Creating template files
    3. Jinja2 template with Conditionals
    4. Jinja2 template with filters
    5. Examples
      1. Template a file onto a remote host
      2. Test that a file is valid before templating onto the remote host
      3. Backup a file if template needs to overwrite it
      4. Template multiple files with a loop
      5. Capture template module output
  25. AWS Provisioning Using Ansible
    1. Github link for playbooks
    2. Ansible Environment setup for AWS Provisioning
    3. Launch EC2 Instances with multiple security groups and Tags
    4. Simple playbooks to start stop and terminate ec2 instances
    5. Single playbook to start stop and terminate Instance
    6. EC2 Tags help to start, stop and terminate instances
    7. Cleanup Tag-less EC2 Instances using Playbooks
    8. Generate CSV Reports using ansible Playbooks for ec2 Instances
  26. Ansible-Roles
    1. Converting a playbook into to Ansible Roles
  27. Automating Helm using Ansible
    1. Ansible modules
    2. Access a Kubernetes cluster
    3. Install Python modules
    4. Start Kubernetes
    5. Get information about your cluster
    6. Use the k8s module
    7. Pull a container image with Podman
    8. Deploy with Ansible
    9. Examples
      1. Adding new Helm Repository
      2. Installing a Helm Chart
      3. Gather information about Helm Chart installed
      4. Install Helm Plugin
      5. Gather information about Helm plugins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published