Skip to content

Download PDF by Lorin Hochstein: Ansible: Up and Running: Automating Configuration Management

By Lorin Hochstein

ISBN-10: 1491915323

ISBN-13: 9781491915325

One of several configuration administration instruments on hand, Ansible has a few particular merits - it is minimum in nature, you do not need to put in whatever in your nodes, and it has a simple studying curve. This functional advisor indicates you the way to be efficient with this device speedy, even if you are a developer deploying code to creation or a approach administrator searching for a greater automation resolution. writer Lorin Hochstein indicates you the way to jot down playbooks (Ansible's configuration administration scripts), deal with distant servers, and discover the tool's genuine strength: integrated declarative modules. you will find that Ansible has the performance you would like and the simplicity you want.

Show description

Read or Download Ansible: Up and Running: Automating Configuration Management and Deployment the Easy Way PDF

Similar design & architecture books

Download PDF by Kunle Olukotun: Chip Multiprocessor Architecture: Techniques to Improve

Chip multiprocessors - also known as multi-core microprocessors or CMPs for brief - at the moment are the one method to construct high-performance microprocessors, for various purposes. huge uniprocessors are not any longer scaling in functionality, since it is just attainable to extract a restricted volume of parallelism from a regular guideline flow utilizing traditional superscalar guideline factor suggestions.

Download e-book for iPad: Principles of Data Conversion System Design by Behzad Razavi

This complicated textual content and reference covers the layout and implementation of built-in circuits for analog-to-digital and digital-to-analog conversion. It starts with uncomplicated suggestions and systematically leads the reader to complicated subject matters, describing layout concerns and methods at either circuit and process point.

Download e-book for iPad: A VLSI Architecture for Concurrent Data Structures by William J. Dally (auth.)

Concurrent facts constructions simplify the improvement of concurrent courses by means of encapsulating widespread mechanisms for synchronization and commu­ nication into facts buildings. This thesis develops a notation for describing concurrent information buildings, offers examples of concurrent facts constructions, and describes an structure to help concurrent facts constructions.

Extra info for Ansible: Up and Running: Automating Configuration Management and Deployment the Easy Way

Example text

We’ll give our Vagrant server the alias of test server. Create a file called hosts in the playbooks directory. This file will serve as the inventory file. If you’re using a Vagrant machine as your test server, your hosts file should look like Example 1-1. I’ve broken the file contents up across multiple lines so that it fits on the page, but it should be all on one line in your file, without any backslashes. Example 1-1. vagrant/machines/default/virtualbox/private_key Here we see one of the drawbacks of using Vagrant.

The dollar sign syntax has been deprecated; if you encounter it in an example playbook you find on the Internet, then you’re looking at older Ansible code. You can use all of the Jinja2 features in your templates, but we won’t cover them in detail here. Check out the Jinja2 Template Designer Documentation for more details. You probably won’t need to use those advanced templating features, though. One Jinja2 feature you probably will use with Ansible is filters; we’ll cover those in a later chapter.

We’ve also seen how to use the ansible command-line tool to perform simple tasks on a single host. However, using ansible to run commands against single hosts isn’t terribly interesting. In the next chapter, we’ll cover playbooks, where the real action is. info CHAPTER 2 Playbooks: A Beginning Most of your time in Ansible will be spent writing playbooks. A playbook is the term that Ansible uses for a configuration management script. Let’s look at an example: installing the nginx web server and configuring it for secure communication.

Download PDF sample

Ansible: Up and Running: Automating Configuration Management and Deployment the Easy Way by Lorin Hochstein


by Steven
4.4

Rated 4.78 of 5 – based on 50 votes