Abstract
| Goal | Review tasks from Red Hat Ansible for Network Automation |
| Objectives |
|
| Sections |
|
| Lab |
|
After completing this section, you should have reviewed and refreshed the knowledge and skills learned in Red Hat Ansible for Network Automation.
Labs in the Comprehensive Review make use of the Git Source Code Management system.
The following is a very brief overview of some the most basic Git subcommands:
Obtain a local copy of a repository.
$git cloneusername@host:/path/to/repository
Add all new files, recursively, to the index of files in the local working copy.
$git add -A :/
Commit changes to your local working copy.
$git commit -m "Commit message"
Send changes to the remote repository.
$git push
You can instruct Git not to track and remotely store particular files.
To ignore all vault.yml files, for instance, create a file named .gitignore in the project root with the following content:
**/vault.yml
This ignores files by this name located in subdirectories, too.
It does not affect files that have already been added, committed, and pushed to a repository.
Before beginning the comprehensive review for this course, you should be comfortable with the topics covered in each chapter.
You can refer to earlier sections in the textbook for extra study.
Install and configure Ansible.
Install Red Hat Ansible Engine on a Red Hat Enterprise Linux control node.
Set up and validate the hosts inventory used in the labs.
Run automated tasks on devices using plays and ad hoc commands.
Run ad hoc commands to execute single, one-time tasks.
Write playbooks, run plays with ansible-playbook, and interpret the resulting output.
Build more complex plays that include multiple tasks.
Write playbooks that include multiple plays.
Perform complex tasks with loops, variables, conditions, roles, and templates.
Define variables and use them in conditionals to control tasks.
Parameterize playbooks and deploy customized files using Jinja2 templates.
Discuss how Ansible solves administrative challenges faced by enterprises today.
Manage advanced inventories, safeguard information with Ansible Vault.
Define roles and manage infrastructure using Red Hat Ansible Tower.
Automate simple operations on network devices
Interrogate network devices with automation.
Back up device configurations.
Perform simple actions using playbooks.
Apply simple changes using playbooks.
Automate complex operations on network devices
Apply changes to a network that involve many tasks using playbooks.
Resolve network issues using playbooks.