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

By Jeff Geerling

Covers Ansible 2.0!

Ansible is a straightforward, yet strong, server and configuration administration device (with a number of different methods up its sleeve). This booklet is helping these acquainted with the command line and uncomplicated shell scripting begin utilizing Ansible to provision and deal with at any place from one to hundreds of thousands of servers.

The publication starts off with basics, like fitting Ansible, constructing a easy stock dossier, and easy suggestions, then publications you thru Ansible's many makes use of, together with ad-hoc instructions, easy and complicated 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

Best linux books

Introduction to Linux: A Hands on Guide

Many of us nonetheless think that studying Linux is hard, or that merely specialists can know the way a Linux procedure works. notwithstanding there's a lot of loose documentation on hand, the documentation is extensively scattered on the internet, and sometimes complicated, because it is mostly orientated towards skilled UNIX or Linux clients.

Z Vm and Linux Operations for Z Os System Programmers

This IBM Redbooks booklet discusses z/VM and Linux operations from the point of view of the z/OS programmer or procedure programmer. even though different books were written approximately lots of those issues, this e-book provides sufficient information regarding each one subject to explain z/VM and Linux on IBM method z operations to someone who's new to either environments.

CompTIA Linux+ Certification Study Guide: Exam XK0-003

CompTIA's Linux+ certification is a globally-recognized, seller impartial examination. The Linux+ examination (XK1-003) is a great revision with updates on purposes, networking, and defense. Our new research advisor is aligned to hide the entire fabric of the up-to-date 2009 examination with particular realization to the hot issues together with troubleshooting Web-related companies, figuring out DNS list varieties and resolving them, and the fundamentals of SELinux protection.

Git : Best Practices Guide

Grasp the easiest practices of Git with the aid of real-time situations to maximise workforce potency and workflowAbout This BookWork with a versioning software for non-stop integration utilizing GitLearn tips on how to make the easiest use of Git's featuresComprehensible guidance with precious tips and tips for successfully utilizing Git for collaborative and Agile developmentWho This ebook Is ForIf you're a developer and also you are looking to thoroughly grasp Git with out heavy thought, this is often the booklet for you.

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

Sample text

D/insecure_private_key Let’s step through this example, group by group: 1. The first block puts both of our application servers into an ‘app’ group. 2. The second block puts the database server into a ‘db’ group. 3. The third block tells ansible to define a new group ‘multi’, with child groups, and we add in both the ‘app’ and ‘db’ groups. 4. The fourth block adds variables to the multi group that will be applied to all servers within multi and all its children. We’ll dive deeper into variables, group definitions, group hierarchy, and other Inventory file topics later.

Chapter 3 - Ad-Hoc Commands 40 Manage cron jobs Periodic tasks run via cron are managed by a system’s crontab. Normally, to change cron job settings on a server, you would log into the server, use crontab -e under the account where the cron jobs reside, and type in an entry with the interval and job. Ansible makes managing cron jobs easy with its cron module. sh'" Ansible will assume * for all values you don’t specify (valid values are day, hour, minute, month, and weekday). You could also specify special time values like reboot, yearly, or monthly using special_time=[value].

We’ll dive deeper into Ansible playbooks later, and we’ll also explore Vagrant a little more as we go. ______________________________________ / I have not failed, I've just found \ | 10,000 ways that won't work. (Thomas | \ Edison) / -------------------------------------\ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || || Chapter 3 - Ad-Hoc Commands In the previous chapter, we ended our exploration of local infrastructure testing with Vagrant by creating a very simple Ansible playbook. Earlier still, we used a simple ansible ad-hoc command to run a one-off command on a remote server.

Download PDF sample

Rated 4.75 of 5 – based on 14 votes
Posted In CategoriesLinux