ISBN-13: 9781539751311 / Angielski / Miękka / 2016 / 82 str.
This is a guide on how to work with Ansible. The first part of the guide explores how to refine the setup of Apache. Failures, which are very common in playbooks have been discussed in detail, meaning that you will learn how to handle these in Ansible. Conditionals have been explored, and these are good in determining what happens to Ansible in case an error occurs. Use of Ansible with several hosts is of great importance, so you should know how to extend it from a single host to several hosts. This has been explored in this guide. There are various types of variables which can be defined in Ansible, and the definition of these is usually done in different files. This book discusses how definition of these variables can be done in the various files. A playbook file can become too large, and execution of this might become time consuming. In such a case, it is recommended that you use tagging to run part of the playbook instead of running the whole of it. This has been explored in this guide, and you will learn how to implement it. Dependencies in roles are also of great significance. These have also been explored in detail. Blocks, which are important in handling errors, are discussed. The following topics have been explored in this guide: - Refining Apache Setup - Playbooks and Failures - Playbook Conditionals - The Git Module - Extension to several Hosts - Variables - Tags - Role Dependencies - Playbook Blocks - Playbook Loops