This is the code repository for Practical Ansible Solutions [Video], published by Packt. It contains all the supporting project files necessary to work through the video course from start to finish.
If you are looking for a simple IT automation framework that's easy to manage, grow into, extend and adapt then Ansible is for you! Ansible is an Open Source, Python-based configuration management solution that saves you time and resources when automating deployment and management of application and IT infrastructure so you can spend your time doing other things.
In this video course, we'll focus on getting things done quickly, using real-world examples and a hands-on teaching style rather than focus too much on theory and conceptual ideas once the basics are covered so you can get the job done.
Core concepts—such as setting up the inventory and playbooks, ad-hoc commands and quick and dirty heavy lifting will get you up and running quickly. We'll then dive into proper playbook organization and using handlers, variables, conditionals and logic for maximizing the efficiency of your automation workflow. We'll also dive into handling growth and multi-role playbooks and stack orchestration.
As we move onward to victory we will dive into systems lifecycle management so you can handle users, software and packages, authentication, services and application/web content with ease as well as touch on Ansible Tower/AWX. We'll end the journey with consuming and using Ansible Galaxy so you can borrow, share and collaborate with the vibrant Ansible Open Source community and the plethora of community roles and playbooks available on the internet.
At the end of this course, you will attain a deeper understanding of Ansible usage and design and be empowered to create your own playbooks, properly growing and scaling them to adapt to the ever-changing needs of your IT landscape.
- Get up and running with Ansible quickly.
- Gain experience to hands-on, practical Ansible automation examples
- Learn about creating, organizing and growing your own playbooks
- Harness powerful conditional logic and templating to more easily automate your infrastructure
- Start small, and build your way towards multi-role/stack playbooks
- Manage your systems packages, users, application content and authentication with Ansible.
- Learn about using Ansible Tower/AWX and Ansible Galaxy
IT systems administrators, developers, and technical staff interested in automating common tasks and objectives with Ansible will benefit most from this curriculum. Some novice computing experience and exposure to IT and systems administration concepts are recommended.
You should have a beginner understanding of using a Linux terminal and systems administration concepts.
This course has the following software requirements:
- A UNIX-like Operating System (Linux, Mac OSX) or VM
- An editor like Vim, Atom, Sublime Text or similar
- Ansible installed on your machine or VM
- A UNIX-like terminal (xterm, xfce-terminal, iterm2)
- SSH and Python libraries installed on remote hosts you want to manage.
This course has been tested on the following system configuration:
- Ansible command host (where you run Ansible)
- OS: Fedora Linux 28 and CentOS Linux 7
- Processor:Intel Core i5
- Memory:16GB
Ansible remote hosts:
- OS: CentOS Linux 7
- Processor: Virtual Machine / 2 x vCPU
- Memory:1GB