Skip to content

Atangoinfotech/Ansible-mc-series

 
 

Repository files navigation

Ansible syllabus

1. Introduction to Ansible

a) Key concepts:

  • What is Ansible?
  • How ansible works.
  • What are the benefits of Ansible?

b) How to install Ansible:

  • Prerequisites
  • How to install ansible
  • Installing Ansible on Ubuntu
  • Installing Ansible on RHEL

c) Ansible configuration

  • Ansible directory structure
  • Ansible configuration file
  • Host key checking

2. Configuring managed nodes:

a) Password Authentication:

  • Creating a user on managed node
  • Enabling password authentication on manged nodes
  • Testing connectivity with user using password

b) Ansible variables

  • default variables
  • host variables
  • group variables

c) Passwordless Authentication:

  • How to create ssh keys
  • How to copy ssh keys to managed nodes
  • How to test connectivity to managed nodes using ssh keys.

3. Adhoc commands

  • What are adhoc commands?
  • Examples of adhoc commands
  • Using custom inventory files
  • Using verbosity ( - v)

4. Ansible modules

  • What are modules
  • What are the default ansible modules?
  • Examples of ansible modules
  • Available modules

5. Ansible playbooks

  • What is an ansible playbook?
  • How to write a playbook
  • Examples of playbooks
  • Using handlers

6. Ansible roles

  • What is an ansible roles?
  • How to create ansible roles
  • How to use roles in playbooks
  • Using import and include modules

7.) Dynamic Inventory

  • Static inventories
  • Dynamic inventory scripts
  • Dynamic inventory plugin

8. Ansible Vault

  • creating encrypted files
  • encrypting existing files
  • viewing content of encrypted files
  • editing an encrypted file
  • decrypting encrypted files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 78.6%
  • HCL 16.1%
  • Shell 2.9%
  • Python 2.0%
  • Smarty 0.4%