Book Image

Practical Ansible Solutions [Video]

By : William Foster
5 (1)
Book Image

Practical Ansible Solutions [Video]

5 (1)
By: William Foster

Overview of this book

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. This course uses CentOS 7, and Ansible 2.3.1, while not the latest version available, it provides relevant and informative content for legacy users of CentOS, and Ansible.
Table of Contents (6 chapters)
Chapter 4
Handlers, Variables, Conditionals, and Logic
Content Locked
Section 3
Adding an Intelligent, Idempotent Firewall Rule
How to add a firewall rule? What are its basic steps? - Revise about Variables, Conditionals and Logic - Understand what are the Register values - Execute a code to add an intelligent, idempotent firewall rule