Ansible for DevOps: Server and configuration management for by Jeff Geerling

By Jeff Geerling

Covers Ansible 2.0!

Ansible is a straightforward, yet robust, server and configuration administration software (with a number of different tips up its sleeve). This booklet is helping these acquainted with the command line and simple shell scripting begin utilizing Ansible to provision and deal with wherever from one to millions of servers.

The publication starts with basics, like fitting Ansible, constructing a simple stock dossier, and uncomplicated thoughts, then publications you thru Ansible's many makes use of, together with ad-hoc instructions, easy and complex playbooks, software deployments, multiple-provider server provisioning, or even Docker orchestration! every little thing is defined with pertinent real-world examples, frequently utilizing Vagrant-managed digital machines.

Show description

Read or Download Ansible for DevOps: Server and configuration management for humans PDF

Similar linux books

SELinux System Administration

A complete advisor to stroll you thru SELinux entry controls

Overview
Use SELinux to additional keep an eye on community communications
Enhance your system's safeguard via SELinux entry controls
Set up SELinux roles, clients and their sensitivity levels
In Detail

NSA Security-Enhanced Linux (SELinux) is a collection of patches and extra utilities to the Linux kernel to include a powerful, versatile, needed entry keep an eye on structure into the key subsystems of the kernel. With its fine-grained but versatile method, it's no ask yourself Linux distributions are firing up SELinux as a default safety measure.
SELinux procedure management covers nearly all of SELinux positive aspects via a mixture of real-life eventualities, descriptions, and examples. every thing an administrator must extra music SELinux to fit their wishes are found in this book.
This ebook touches on numerous SELinux themes, guiding you thru the configuration of SELinux contexts, definitions, and the project of SELinux roles, and winds up with coverage improvements. All of SELinux's configuration handles, be they conditional rules, constraints, coverage kinds, or audit functions, are coated during this publication with real examples that directors may come across.
By the top, SELinux procedure management could have taught you ways to configure your Linux approach to be safer, powered through an impressive essential entry control.

What you are going to study from this book
Enable and disable good points selectively or maybe implement them to a granular level
Interpret SELinux logging to make security-conscious decisions
Assign new contexts and sensitivity labels to documents and different resources
Work with mod_selinux to safe internet applications
Use instruments like sudo, runcon, and newrole to change roles and run privileged instructions in a secure environment
Use iptables to assign labels to community packets
Configure IPSec and NetLabel to move SELinux contexts over the wire
Build your personal SELinux guidelines utilizing reference coverage interfaces

Approach
A step by step advisor to profit find out how to arrange protection on Linux servers via taking SELinux guidelines into your personal hands.

Who this e-book is written for
Linux directors will benefit from the a number of SELinux beneficial properties that this publication covers and the strategy used to lead the admin into realizing how SELinux works. The e-book assumes that you've got simple wisdom in Linux management, particularly Linux permission and person administration.

Professional Tizen Application Development

Create strong, marketable functions with Tizen for the cellphone and past

Tizen is the single platform designed for a number of machine different types that's HTML5-centric and fully open resource. Written via specialists within the box, this finished advisor comprises chapters on either net and local program improvement, protecting matters comparable to situation and social gains, complex UIs, animations, sensors and multimedia.

This booklet is a entire source for studying the best way to advance Tizen internet and local functions which are polished, bug-free and able to promote on quite a number clever units, past simply smartphones. Tizen is an open resource platform that's housed in the Linux beginning and is absolutely supported through Intel, Samsung and the Tizen organization.

Professional Tizen program Development:
• Explains how internet functions can mix HTML5 positive aspects with Tizen gadget APIs to unharness the total power of the Tizen platform
• presents certain, sensible motives of crucial Tizen local APIs
• Demonstrates most sensible practices for including key good points like situation, contacts and calendars in your apps
• exhibits you the way to take advantage of complicated gains akin to animations, face popularity and sensors that will help you create functions that stand proud of the crowd
• stocks code on complicated issues together with multi-threading and hybrid applications
• comprises various absolutely sensible code examples, for either internet and local functions, whole with tricks and tips on how to get the main out of the Tizen APIs

Hojun Jaygarl, Yoonsoo Kim, Eunyoung Choi are Samsung engineers engaged on Tizen. Cheng Luo, Kevin Bradwick and Jon Lansdell are skilled expert developers.

Professional Tizen program improvement prepares you to begin developing notable apps for a number of units with the Tizen platform.

Bonus code obtain hyperlink: http://www. wrox. com/WileyCDA/WroxTitle/Professional-Tizen-Application-Development. productCd-1118809262. html

Practical LPIC-1 Linux Certification Study Guide

This e-book is the whole consultant to learning for the Linux specialist Institutes Server specialist (LPIC-1) certification. each thought, precept, strategy, and source that may make an visual appeal at the examination is absolutely represented. you are going to comprehend each suggestion via rolling up your sleeves, starting up a terminal, and attempting all of it your self.

Extra info for Ansible for DevOps: Server and configuration management for humans

Example text

Limit will match either an exact string or a regular expression (prefixed with ∼). 4), the following would work exactly the same: Chapter 3 - Ad-Hoc Commands 32 # Limit hosts with a simple pattern (asterisk is a wildcard). 4" # Limit hosts with a regular expression (prefix with a tilde). com; being able to match on regular expressions is often helpful. Try to reserve the --limit option for running commands on single servers. If you often find yourself running commands on the same set of servers using --limit, consider instead adding them to a group in your inventory file.

Service You can see how things start getting complex in the land of shell scripts! And this shell script is still not as robust as what you get with Ansible. To maintain idempotency and handle error conditions, you’ll have to do a lot more extra work with basic shell scripts than you do with Ansible. g. using the name function and/or adding comments to the YAML for complicated tasks) is not absolutely necessary. However, I’m a firm believer in thorough (but concise) documentation, so I almost always document what my tasks will do by providing a name for each one.

While it’s good to track these details in an external tool like Nagios³², Munin³³, or Cacti³⁴, it’s also nice to check these stats on all your servers with one simple command and one terminal window! Summary That’s it! You’ve just learned about configuration management and Ansible, installed it, told it about your server, and ran a couple commands on that server through Ansible. If you’re not impressed yet, that’s okay—you’ve only seen the tip of the iceberg. _______________________________________ / A doctor can bury his mistakes but an \ | architect can only advise his clients | \ to plant vines.

Download PDF sample

Rated 4.97 of 5 – based on 3 votes