Automation with Ansible and Ansible Tower (DO410)
Overview
Automation with Ansible and Ansible Tower (DO410) is designed for IT professionals who want to develop standardized automation of the enterprise IT environment in order to improve operational efficiency by using Ansible. You will learn how to use Ansible for automation, configuration, provisioning, and management, and how to use Red Hat®Ansible Tower to centrally manage Ansible at an enterprise scale. This course combines the content from Automation with Ansible (DO407) and Automation with Ansible II: Ansible Tower (DO409).
This course is based on Ansible 2.3, Ansible Tower 3.1, and Red Hat®Enterprise Linux® 7.3.
Through hands-on labs, you will learn to automate system administration tasks on managed hosts with Ansible, learn how to write Ansible playbooks to standardize task execution, and manage encryption for Ansible with Ansible Vault. This course will also teach you how to deploy and use Red Hat® Ansible Tower to centrally manage existing Ansible projects, playbooks, and roles; perform basic maintenance and administration of the Ansible Tower installation; and configure users and teams and use them to control access to systems, projects, and other resources through role-based access controls. You will learn to use Ansible Tower's visual dashboard to launch, control, and monitor Ansible jobs; use the Ansible Tower application programming interface (API) to launch jobs from existing templates; automatically schedule Ansible jobs; and dynamically update host inventories.
Course summary
- Install and troubleshoot Ansible on central nodes and managed hosts.
- Automate administration tasks with Ansible playbooks and ad hoc commands.
- Write effective Ansible playbooks.
- Protect sensitive data used by tasks with Ansible Vault.
- Install and configure Ansible Tower for enterprise Ansible management.
- Use Ansible Tower to control access to inventories and machine credentials by users and teams.
- Create job templates in Ansible Tower to standardize playbook execution.
- Centrally launch playbooks and monitor and review job results with Ansible Tower.
Duration
5 days
Outcomes
1. Impact on the organization
This course is intended to develop the skills needed to use Ansible to standardize and automate the provisioning, management, configuration, and orchestration of systems and applications across operations or cloud computing environments in large enterprises. These skills are suitable for organizations seeking to increase cost savings and operational efficiency through implementing the DevOps methodology with Ansible, and through using Ansible Tower to facilitate wide adoption and centralized management of Ansible automation at scale in the enterprise.
2. Impact of this training
As a result of attending this course, you should be able to write Ansible playbooks and launch them to manage hosts and deploy applications in a scalable way. You should be able to build and manage an Ansible Tower installation and use it to centrally manage Ansible job execution, monitoring, and access to projects, inventories, and credentials.
You should be able to demonstrate these skills:
- Automate system administration tasks on managed hosts with Ansible.
- Write Ansible Playbooks to standardize task execution.
- Deploy and perform basic maintenance and administration of an Ansible Tower installation.
- Control access to Ansible projects, credentials, and other resources through role-based access controls in Ansible Tower.
Prerequisites
Become a Red Hat Certified System Administrator, or demonstrate equivalent experience
Audience
This course is designed for Linux system administrators, cloud administrators, and network administrators needing to automate configuration management, application deployment, and intraservice orchestration at an enterprise scale.
Course Outline
1. Introduce Ansible
- Describe the terminology and architecture of Ansible.
2. Deploy Ansible
- Configure Ansible and run ad hoc commands.
3. Implement playbooks
- Write Ansible plays and execute a playbook.
4. Manage variables and inclusions
- Describe variable scope and precedence, manage variables and facts in a play, and manage inclusions.
5. Implement task control
- Manage task control, handlers, and tags in Ansible playbooks.
6. Implement Jinja2 templates
- Employ a Jinja2 template.
7. Implement roles
- Create and manage roles.
8. Configure complex playbooks
- Learn and replicate how Ansible executes plays and tasks using host patterns, delegation, and parallelism.
9. Implement Ansible Vault
- Manage encryption with Ansible Vault.
10. Troubleshoot Ansible
- Troubleshoot the Ansible control machine and managed nodes.
11. Install Ansible Tower and describe Ansible Tower's architecture
- Explain what Ansible Tower is and demonstrate a basic ability to navigate and use its web user interface.
12. Create users and teams for role-based access control
- Create user accounts and organize them into teams that can be used in conjunction with role-based access control to manage administration and access to organizational resources in Ansible Tower.
13. Create and manage inventories and credentials
- Build inventories of machines to manage and set up credentials that will allow Ansible Tower to run jobs on those systems.
14. Manage projects for provisioning with Ansible Tower
- Create basic projects and job templates in Ansible Tower that can be used to run Ansible playbooks in order to provision and configure managed systems.
15. Construct advanced job workflows
- Use additional features of job templates to improve workflows by creating simple job launch forms and templates to launch multiple jobs in sequence, and also to report job success or failure through external notification systems.
16. Update inventories dynamically and compare inventory members
- Use advanced techniques to work with inventories, including dynamic generation of inventories from centralized information sources and monitoring of hosts in an inventory for configuration deviations or differences.
17. Maintenance and administration of Ansible Tower
- Perform routine maintenance and administration on Ansible Tower and establish a basic familiarity with the command line tools and the Ansible Tower API.
Học trực tuyến
Học tại Hồ Chí Minh
Học tại Hà Nội