
Discover the core Ansible concept by exploring the controller, manage nodes, inventory, modules, playbooks, and collections, plus YAML playbooks and Python prerequisites.
Explore how Ansible concepts—module, copy module, playbook, inventory (host file), observer group, and manage nodes—work together to copy an updated HTML file to Linux app servers via a playbook.
Prepare the M01 master controller system for phase one lab by installing CentOS 7, setting the hostname to ansible-n01, and enabling the EPL repository before installing Ansible.
Create and configure the Ansible M01 system using VirtualBox, installing CentOS, setting the hostname, enabling epel-release, and installing Ansible with bridge networking.
Prepare db01 Windows system by downloading the 180-day Windows Server 2016 ISO, creating a VirtualBox VM, installing the OS, and renaming the host to db01 to enable Ansible testing.
Create a Windows Server 2016 virtual machine in VirtualBox, install the desktop experience from an evaluation ISO, set a bridge network, and configure the hostname DB01 with a static IP.
Explore Ansible installation: locate binaries, configuration files, log directories, and modules, with default paths such as var/log and the ansible directories.
Examine how Ansible uses the inventory file to define hosts and groups, review the default configuration and module paths, and understand where logs are stored on target systems.
Create an ansible inventory by setting up a data directory and yaml config, listing linux and windows hosts with IPs, and enabling linux ssh and windows binary module.
Learn to copy and upload files to a Linux managed node using Ansible and the copy module. Control ownership, group, and permissions, with become root and password prompts on APP01.
Apply Ansible to audit Linux system configuration on APP01, using the shell module to check memory and uptime and validate outputs.
Learn to manage cron jobs on APP01 using Ansible's cron module to add a scheduled task and later remove it, validating with crontab and ensuring correct execution.
learn to administer windows servers with ansible by configuring winrm, creating a self-signed certificate, enabling basic authentication, and opening the firewall for remote management.
Learn to ping Windows systems with Ansible by using the win array module, configuring inventory, managing credentials, and validating connectivity after creating a root admin account.
Use the service module in Ansible to check whether a Windows service is running, such as the printer service, and understand the service state and its display name.
Use Ansible's win_feature module to install and uninstall Windows features, such as the Telnet Client, by setting state to present or absent and verifying installation on Windows systems.
Learn to copy a file from the Ansible control system to a Windows host using ad hoc commands and verify the transfer in Windows Explorer.
Use an Ansible playbook to automate Windows administration, checking boot time, validating a service status, installing a feature, and copying a file to Windows servers.
Automate deployment of a Java class file to multiple Tomcat webapps on Linux with Ansible. Check directories exist before copying, and use copy or synchronize with loop handling and logging.
Demonstrates using ansible to copy Java class files to multiple Tomcat directories on Linux, using stat to verify destinations and copy only to existing paths.
Ansible is a simple, powerful, and agentless tool that simplifies the process of IT automation and expedites DevOps efforts. Ansible works to help you automate and configure your infrastructure to save time and increase productivity. It’s straightforward, secure, and powerful, making it an easy tool to learn and implement within your organization.
Ansible runs on Windows and Unix-like operating systems, providing infrastructure as code. It has its own declarative programming language for management and system configuration. It can connect with cloud environments like Amazon AWS and Microsoft Azure to help you manage and automate your infrastructure and code deployment.
Ansible is simple to install, connects easily to clients, and contains many features. It’s push-based and connects to clients via SSH, so it doesn’t require an agent on the client.
This course will walk you through how to automate administration of Linux and Windows servers in efficient way. This is the best starting course those who want to explore Ansible to elevate their automation skill set. After learning this course you will get familiar with
1. Ansible workflow
2. Ansible terminology
3. Installation of Ansible
4. Linux servers setup for administration using Ansible
5. Windows servers setup for administration using Ansible
6. Adhoc method to manage servers
7. YAML method