Ansible 203 - Windows Server Automation

Price
$2,395.00 USD

Duration
5 Days

 

Delivery Methods
Virtual Instructor Led
Private Group

Course Overview

Continue your studies of Ansible, with a focus on automating servers and applications. In addition to Ansible, students will study enough Python to understand Ansible’s plugin architecture. Lessons and labs focus on using both Python and Ansible to interact with and configure your Windows servers, as well as common applications. At the conclusion of this course, you will return to work empowered with skills necessary to create or improve Ansible solutions. This class is a combination of live demonstrations and hands-on labs with virtual network devices and endpoints as targets for your configuration. For many of the lessons, we will focus on tasks targeting Windows.

Course Objectives

  • Version controlling code with Git
  • winrm sessions and pass commands to remote servers
  • Basic Python for automation applications
  • Ansible collections for server automation
  • Understanding plugin architecture of Ansible modules written with Python
  • Best practices for automation

Who Should Attend?

  • Network Administrators
  • Ansible Developers
  • Python Developers
  • Administrators interested in Automation
  • Individuals interested in devops, specifically for networking
  • Top-rated instructors: Our crew of subject matter experts have an average instructor rating of 4.8 out of 5 across thousands of reviews.
  • Authorized content: We maintain more than 35 Authorized Training Partnerships with the top players in tech, ensuring your course materials contain the most relevant and up-to date information.
  • Interactive classroom participation: Our virtual training includes live lectures, demonstrations and virtual labs that allow you to participate in discussions with your instructor and fellow classmates to get real-time feedback.
  • Post Class Resources: Review your class content, catch up on any material you may have missed or perfect your new skills with access to resources after your course is complete.
  • Private Group Training: Let our world-class instructors deliver exclusive training courses just for your employees. Our private group training is designed to promote your team’s shared growth and skill development.
  • Tailored Training Solutions: Our subject matter experts can customize the class to specifically address the unique goals of your team.

Course Prerequisites

  • Ansible 101 (Ansible Essentials)
  • Coding experience in another language serves as an adequate prerequisite

Agenda

Ansible and Python Review

  • Overview of Python and Ansible
  • Python whitespace rules & best practices
  • Conditional expressions
  • Relational and Boolean operators
  • Lists, Tuples, Dictionaries
  • Indexing and slicing
  • Built-in functions
  • Writing custom functions
  • Getting at methods
  • Iterating with Loops (for and while)
  • Working with files
  • Software Control Management (SCM) (Git, Github, GitLab, Bitbucket, Cloudshare, etc.)
  • Getting at RESTful interfaces
  • Working with JSON
  • Ansible with WinRM vs OpenSSH

Windows Automation

  • RESTful API review
  • Understanding API documentation
  • Windows operations
  • Getting running services on Windows platforms
  • Install and uninstall MSIs
  • Enable and disable Windows features
  • Start, stop, and manage Windows services
  • Create and manage local users and groups in Windows

Building Ansible Skillsets for Windows

  • Common Windows operations
  • Building roles
  • Manage Windows packages via the Chocolatey package manager
  • Manage and install Windows updates
  • Fetch files from remote sites
  • Push and execute PowerShell scripts
  • Community modules for Windows
  • Writing Ansible playbooks that respond to failures
  • Writing Ansible playbooks that respond to failures

Blending Python and Ansible Skillsets

  • Review how to use Python within Ansible
  • Calling Python scripts with Ansible
  • Jinja2 Templating Engine for Python (and Ansible)
  • Using Templates in Ansible playbooks
  • Jinja2 filters, looping, and other useful tricks for automating with Ansible
  • Playbook tagging for selective runs
  • When to use Python and when to use Ansible
  • Writing a custom collection
  • Writing custom roles
  • Extending Ansible to support Windows

Customizing Ansible with Python

  • Review – Running Scripts with Ansible
  • Prompting for Ansible user input
  • Writing a custom Ansible Module with Python
  • Ansible “Engine” vs Ansible “Tower” – marketing hype, capabilities, costs, etc.
  • Molecule – Testing your roles
 

Get in touch to schedule training for your team
We can enroll multiple students in an upcoming class or schedule a dedicated private training event designed to meet your organization’s needs.

 



Do You Have Additional Questions? Please Contact Us Below.

contact us contact us 
Contact Us about Starting Your Business Training Strategy with New Horizons