|
via Udemy |
Go to Course: https://www.udemy.com/course/redhat-ansible-training-rhel9/
Welcome to RedHat Automation with Ansible - RHEL 9 (RH294).If you're a system administrator, DevOps engineer, or just someone who wants to automate Linux-based tasks, this course is your complete guide to learning Ansible - one of the most powerful tools in IT automation.Here's what you'll learn:Ansible Setup in AWS EnvironmentGetting Started with This SectionSet Up an EC2 Instance as an Ansible Control NodeInstall Ansible on Control NodeSet Up Two Client Machines as Managed NodesEnable SSH communicationAdd Same User to All MachinesGenerate SSH Key for Password-Free AccessCreate Host Group in Inventory FileTest Connection Using Ad-Hoc CommandsGuided Exercise - 1Guided Exercise - 2Mastering Ansible Inventory and ansible-navigator: A Step-by-Step guideGetting Started with This SectionUnderstanding Ansible InventoryStatic vs Dynamic Inventory in AnsibleHow to Add Host Entries in InventoryAdding Hosts with Custom Ports and UsersUsing Host Ranges in Ansible InventoryGetting Started with Ansible Navigator: Installation, Modes, and UsageAnsible Navigator: Quick OverviewNavigator Modes Explained: Run, Inventory, Collections & Moreansible-navigator vs ansible-playbook: Key DifferencesInstalling ansible-navigatorSetting Up ansible-navigatorView Inventory with ansible-navigator (stdout mode)Explore Inventory in TUI Mode Using ansible-navigatorManaging Ansible Configuration FilesConfiguring Ansible BasicsSetting Up User-Specific Ansible ConfigurationDefining Inventory File Path in Ansible ConfigWorking with ansible-navigator Configuration FileAnsible Navigator - Scenario Based Guided LabGetting Started with this SectionHands-On Lab 1Hands-On Lab 2Hands-On Lab 3Hands-On Lab 4Implementing an Ansible PlaybookGetting Started with this SectionWhat is an Ansible PlaybookAnsible Playbook Syntax and FormattingLab Exercise: Creating Your First Ansible PlaybookLab Exercise: Run Playbook Using Ansible NavigatorLab Exercise: Ansible Navigator with EE EnabledLab Exercise: Directory Creation Using PlaybookAnsible Variable and FactsGetting Started with this SectionIntroduction to Ansible VariablesValid and Invalid Variable NamesDefining Group Variables in Ansible InventoryDefining Group Variables via group_varsDefining Host VariablesDefining Variables in Ansible PlaybooksOverriding Variables with ansible playbookOverriding Variables with ansible-navigatorUse Dictionaries as Variables in AnsibleHands-On: Use DictionariesCapturing Output with Registered VariablesHands-On: Capturing Output with registerManaging Secrets in AnsibleIntroduction to Ansible Vault and Secret StorageAnsible Vault: File EncryptionAnsible Vault: Using Password Files for EncryptionAnsible Vault: Modify Encrypted FilesHands-On 1: Secure User Creation with Ansible VaultHands-On 2: Secure User Creation with Ansible VaultHands-On 3: Secure User Creation with Ansible VaultHands-On 4: Secure User Creation with Ansible VaultHands-On 5: Secure User Creation with Ansible VaultTask Control Implementation in AnsibleGetting Started with this SectionTask Iteration with Loops in AnsibleHands-On: Installing Multiple Packages Using LoopsLoop with a Variable ListHands-On: Iterating Variable Lists with LoopsAnsible Loops with List of DictionariesHands-On 1: Looping Through Dictionary ListsHands-On 2: Looping Through Dictionary ListsEarlier-style Loop Keywords: with_items, with_dict etcHands-On 1: Register with Loop in AnsibleHands-On 2: Register with Loop in AnsibleImplementing Conditional Task ControlRunning Tasks ConditionallyHands-On: Install Apache Only if RAM > 2GBHands-On: Run Task Only if OS is DebianHands-On: Run Task When web_enabled is TrueHands-On: Run Task if RAM > 2GB AND OS is CentOSHands-On: Run Task if OS is Ubuntu OR DebianDeploying Files to Managed HostsDescribing File ModulesHands-On: Create a DirectoryHands-On: Copy a File to RemoteHands-On: Fetch File From Remote to LocalHands-On: Insert Line Using lineinfile ModuleHands-On: Insert Config Block Using blockinfile ModuleDeploying Custom files with Jinja2 TemplatesIntroduction to Jinja Templating in AnsibleControl Structures with Loops and VariablesHands-On: Control StructuresUsing Ansible Facts in Jinja2 TemplatesGuided Exercise - 1Guided Exercise - 2Guided Exercise - 3Managing Complex Plays and PlaybooksSelecting Hosts with Host PatternsHands-On: Defining Ansible Host PatternsHands-On: Defining Ansible Host PatternsIncluding and Importing FilesInclude vs Import in AnsibleImport_playbook in AnsibleHands-On 1: Include and Import Files - Apache SetupHands-On 2: Include and Import Files - Apache SetupHands-On 3: Include and Import Files - Apache SetupGuided Exercise: Apache Web Server AutomationOverview of the ProjectHands-On Practice 1Hands-On Practice 2Modular Playbook Design with Roles and CollectionsDescribing Role StructureHands-On Project: Automate Server HardeningHands-On: Roles for User and Timezone SetupHands-On: Role for Firewall Custom Port AccessHands-On: Role for SSH ConfigurationHands-On: Use Roles in a PlaybookHands-On: Execute the PlaybookHands-On: Verify Changes on Client NodeUsing External Ansible Roles from Ansible GalaxyOverview: Using External Roles from GalaxyHands-On: Install External Role geerlingguy.nginxHands-On: Create a Playbook with External RoleHands-On: Run Playbook with ansible-playbookHands-On: Run Playbook with ansible-navigatorTroubleshooting in Ansible: Debugging and Error HandlingAnalyzing Ansible Log FilesUsing the debug Module for TroubleshootingHandling Errors Gracefully in AnsibleDebugging Techniques in AnsibleUsing check_mode to Test Playbook ExecutionLast Lecture