Download e-book for iPad: Ansible Configuration Management by Daniel Hall

By Daniel Hall

ISBN-10: 1785282301

ISBN-13: 9781785282300

Leverage the ability of Ansible to regulate your infrastructure efficiently

About This Book

  • Configure Ansible in your Linux and home windows machines effectively
  • Extend Ansible so as to add beneficial properties corresponding to looping, conditional executions, and activity delegations
  • Explore the features of Ansible from uncomplicated to extra complicated subject matters with assistance from this step by step guide

Who This e-book Is For

This e-book is meant for someone who desires to study Ansible ranging from the fundamentals. a few adventure of the way to establish and configure Linux machines and a operating wisdom of BIND, MySQL, and different Linux daemons is expected.

What you are going to Learn

  • Manage your home windows machines with Ansible
  • Use Ansible's command-line instruments to interrogate systems
  • Interact with modules and set up cloud infrastructures
  • Process facts inside of Ansible and expand the performance of Ansible
  • Learn how you can shop secrets and techniques in Ansible's vault and observe different resource code administration techniques
  • Build maintainable configurations for giant environments
  • Write customized Ansible plugins efficiently
  • Extend the performance of Ansible by way of writing your individual modules

In Detail

Ansible is an open resource software program platform for configuring and coping with desktops. It offers a transparent and concise method to deal with the configuration of your Linux infrastructure. This e-book is a step by step consultant that offers you with the data you require to successfully deal with your platforms in an easy, fast, and maintainable manner, with real-world examples.

You will start through studying the fundamentals of Ansible after which circulation directly to exploring extra complicated issues. you'll then study the fundamental and intricate operations of playbooks and engage with modules to control home windows machines and install them. additionally, you will get accustomed to Ansible's extra complicated gains reminiscent of serially updating machines, delegating projects to different machines, complex makes use of of variables, looping and stipulations, copying entire directories, and utilizing filters to technique variables. in the direction of the tip of the publication, you are going to the way to elevate the performance of Ansible itself by means of writing your individual modules and plugins.

Show description

Read Online or Download Ansible Configuration Management PDF

Best linux books

Emmett Dulaney, Naba Barkakati's Linux all-in-one desk reference for dummies PDF

Involved in Linux, the fantastic substitute working approach? uncertain which of the zillion diverse diversifications is correct for you, or how to define out? How clever you're to consider Linux All-In-One table Reference For Dummies! simply because Linux bargains such a lot of suggestions, this ebook is helping you cut them down by means of supplying you with 5 well known Linux distributions on a DVD—Debian GNU/Linux, Fedora, openSUSE Linux, Ubuntu, and Xandros.

Read e-book online LPI Linux Essentials Certification All-in-One Exam Guide PDF

Whole assurance of the most recent examination free up from the Linux expert Institute, and step one towards LPIC-1 and CompTIA Linux+ Linux necessities All-in-One examination advisor covers this «first-of-its-kind» software meant for the tutorial zone, aspiring IT pros, and an individual new to the realm of Linux and open resource expertise.

Get Modern Linux Administration How to Become a Cutting-Edge PDF

For you to excel on your paintings as a Linux administrator, or maybe land a task as one, you wish this e-book. the volume of information and services required of Linux directors has grown drastically during the last 10 years. this present day you wish an grand number of abilities, numerous of them very new. This e-book presents builders, company architects, and location reliability engineers with a legitimate advent to bleeding-edge Linux-based instruments and applied sciences for either improvement and creation environments.

Extra resources for Ansible Configuration Management

Example text

One example where this is useful is when prompting for the passphrases used to decrypt secret keys for the HTTPS servers. We can instruct Ansible to prompt for variables with the following code snippet: vars_prompt: - name: https_passphrase prompt: Key Passphrase private: yes [ 20 ] Chapter 2 In the previous example, https_passphrase is where the entered data will be stored. The user will be prompted with Key Passphrase, and because private is set to yes, the value will not be printed on the screen as the user enters it.

The names are also outputted to the console when the playbook is run, so that the user can tell what is happening. If we don't provide a name, Ansible will just use the action line of the task or the handler. Unlike other configuration management tools, Ansible does not provide a fully featured dependency system. This is a blessing and a curse; with a complete dependency system, we can get to a point where we are never quite sure what changes will be applied to a particular machine. Ansible, however, does guarantee that our changes will be executed in the order they are written.

Using playbooks, we can perform many actions at once, and across multiple systems. They provide a way to orchestrate deployments, ensure a consistent configuration, or simply perform a common task. Playbooks are expressed in YAML, and for the most part, Ansible uses a standard YAML parser. This means that we have all the features of YAML available to us as we write them. For example, we can use the same commenting system in playbook as we would in YAML. Many lines of a playbook can also be written and represented in YAML data types.

Download PDF sample

Ansible Configuration Management by Daniel Hall

by George

Rated 4.18 of 5 – based on 50 votes