Description
In this course, you will learn :
- Ansible code by modules
- Automate System Administrator tasks with Ansible
- Automate tasks on Windows
- Ansible in real life use cases
Syllabus :
1. Ansible Playbook Statements
- Playbooks
- Variables
- Facts and magic variables
- Vault
- Conditional
- Loop
- Handler
- How to Run Only One Task in Ansible Playbook? Ansible tags statement
2. Install Ansible
- Ansible terminology: ansible vs ansible core packages
- How to install Ansible in Windows 10 WSL Windows Subsystem for Linux
- How to install Ansible in Windows 11 WSL Windows Subsystem for Linux
- How to install Ansible with PIP
- Test Windows host availability - Ansible module win_ping
3. Ansible Playbook code for Windows
- Configure a Windows Host for Ansible; ansible winrm
- Create an empty file in Windows like systems; Ansible module win_file
- Check if a file exists on Windows like systems; Ansible module win_stat
- Install Windows software: Ansible module win_chocolatey Preview
- Copy files to Windows remote hosts: Local to Remote Ansible module win_copy
- Copy files from Windows remote hosts: Ansible module fetch
- Reboot Windows hosts Ansible module win_reboot
- Install Google Chrome in Windows like systems; Ansible module win_chocolatey
- Install Docker in Windows like systems; Ansible module win_chocolatey
- Extract an archive in Windows like systems; Ansible module win_unzip
- Download a file in Windows like systems; Ansible module win_get_url
- Create a directory on Windows like systems; Ansible module win_file
- Check if a directory exists on Windows like systems; Ansible module win_stat
- Check Registry .NET Framework version on Windows like systems; Ansible module w
- Rolling Update Windows like systems; Ansible module win_updates
- Add Windows Registry on Windows like systems; Ansible module win_regedit
- Remove Windows Registry path or key on Windows like systems; Ansible module win
- Create a local user on Windows like systems; Ansible module win_user
- Create a local group on Windows like systems; Ansible module win_group
- Remove a local user on Windows like systems; Ansible module win_user
- Change local user password on Windows like systems; Ansible module win_user
- Backup With Robocopy on Windows; Ansible module win_robocopy
- Ansible modules; win_command vs win_shell
- Remove a local group on Windows like systems; Ansible module win_group
4. Ansible Troubleshooting of the most common errors
- Ansible troubleshooting; PowerShell incompatible with the sudo become plugin
- Ansible troubleshooting; Windows 10 Error 0x80370102 WSL: WindowsSubsystemLinux
- Ansible troubleshooting; Windows 11 Error 0x80370102 WSL: Windows Subsystem for
- Ansible troubleshooting; Module Failure on Windows target
- Ansible troubleshooting; Unhandled exception while executing module win_user