How To Build An Ansible Clone Using Python

BY
Udemy

Mode

Online

Fees

₹ 799

Quick Facts

particular details
Medium of instructions English
Mode of learning Self study
Mode of Delivery Video and Text Based

Course and certificate fees

Fees information
₹ 799
certificate availability

Yes

certificate providing authority

Udemy

The syllabus

Introduction

  • Introduction
  • Commander Demo

Pre-requisites

  • Installing Python
  • The PyCharm IDE
  • Setting up virtualenv

Getting Started

  • Create a new project
  • Installing Paramiko
  • Creating Droplets in DigitalOcean

Our first steps with Paramiko

  • Single host example
  • Adding the jbond user
  • Adding sudo functionality

Building Commander Part 1 - The Basics

  • Setting up argparse
  • Using environment variables
  • Setting up Paramiko
  • Adding jbond to all hosts
  • Adding SSH Keys To Our Droplets
  • Adding SSH Keys to Commander

Building Commander Part 2 - Sudo

  • Adding the Sudo flag
  • Handling Sudo authentication
  • Executing multiple commands with Sudo

Building Commander Part 3 - Improvements

  • Adding command echo support
  • Disabling keys when using username/password
  • Add basic exception handling

Building Commander Part 4 - Threading

  • Creating our host shell function
  • Adding the threads flag
  • Completing threads
  • Final Demo

Extending Commander with SCP functionality

  • Installing SCP
  • Adding SCP Functionality to Commander
  • Finishing SCP

Final Thoughts

  • Congrats & Next Steps!

Instructors

Mr Jason Riedel

Mr Jason Riedel
Co-Founder
Freelancer

Articles

Popular Articles

Latest Articles

Trending Courses

Popular Courses

Popular Platforms

Learn more about the Courses

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

Careers360 App
150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books