Ansible for DevOps: Server and configuration management for humans

By Jeff Geerling

Covers Ansible 2.0! 

Ansible is an easy, yet strong, server and configuration administration device (with a number of different methods up its sleeve). This ebook is helping these conversant in the command line and simple shell scripting commence utilizing Ansible to provision and deal with anyplace from one to hundreds of thousands of servers. 

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

Show description

Quick preview of Ansible for DevOps: Server and configuration management for humans PDF

Similar Technology books

What Computers Can't Do: The Limits of Artificial Intelligence

Hubert Dreyfus has been a critic of synthetic intelligence study because the Nineteen Sixties. In a sequence of papers and books, together with Alchemy and AI (1965), What pcs Can't Do (1972; 1979; 1992) and brain over computing device (1986), he offered an overview of AI's growth and a critique of the philosophical foundations of the sector.

A Dictionary of Weights, Measures, and Units (Oxford Paperback Reference)

This finished and authoritative dictionary offers transparent definitions of devices, prefixes, and types of weights and measures in the Système foreign (SI), in addition to conventional, and industry-specific devices. it is usually common ancient and clinical heritage, protecting the advance of the sequential definitions and sizing of devices.

Racing the Beam: The Atari Video Computer System (Platform Studies)

The Atari Video laptop process ruled the house game industry so thoroughly that "Atari" turned the standard time period for a game console. The Atari VCS used to be reasonable and provided the pliability of changeable cartridges. approximately one thousand of those have been created, the main major of which confirmed new options, mechanics, or even complete genres.

Remediation: Understanding New Media

Media critics stay captivated by means of the modernist fable of the recent: they suppose that electronic applied sciences corresponding to the area huge net, digital fact, and special effects needs to divorce themselves from prior media for a brand new set of aesthetic and cultural rules. during this richly illustrated learn, Jay David Bolter and Richard Grusin supply a thought of mediation for our electronic age that demanding situations this assumption.

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

Show sample text content

Precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . forty six forty six fifty one fifty one fifty two fifty three fifty four fifty five fifty eight 60 sixty one sixty two sixty three sixty four sixty six sixty nine 70 seventy one seventy three seventy five seventy five seventy six seventy seven seventy eight eighty two eighty three bankruptcy five - Ansible Playbooks - past the fundamentals Handlers . . . . . . . . . . . . . . . . . . . . . . setting variables . . . . . . . . . . . . . . . Per-play atmosphere variables . . . . . . . . Variables . . . . . . . . . . . . . . . . . . . . . . Playbook Variables . . . . . . . . . . . . . . . stock variables . . . . . . . . . . . . . . . Registered Variables . . . . . . . . . . . . . . having access to Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . eighty four eighty four 86 87 89 89 ninety one ninety two ninety three . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CONTENTS Host and workforce variables . . . . . . . . . . . . . . . . . . . . . . . . Automatically-loaded group_vars and host_vars . . . . . . . Magic variables with host and workforce variables and data evidence (Variables derived from approach details) . . . . . . . . . . . neighborhood evidence (Facts. d) . . . . . . . . . . . . . . . . . . . . . . . Ansible Vault - conserving secrets and techniques mystery . . . . . . . . . . . . . . . . . . Variable priority . . . . . . . . . . . . . . . . . . . . . . . . . . . If/then/when - Conditionals . . . . . . . . . . . . . . . . . . . . . . . . . Jinja2 Expressions, Python built-ins, and common sense . . . . . . . . . . . . . sign up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . while . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . changed_when and failed_when . . . . . . . . . . . . . . . . . . . . . ignore_errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Delegation, neighborhood activities, and Pauses . . . . . . . . . . . . . . . . . . . Pausing playbook execution with wait_for . . . . . . . . . . . . . . . operating a whole playbook in the neighborhood . . . . . . . . . . . . . . . . . . . activates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . bankruptcy 6 - Playbook association - Roles and contains comprises . . . . . . . . . . . . . . . . . . . . . . . . . Dynamic comprises . . . . . . . . . . . . . . . . . . Handler comprises . . . . . . . . . . . . . . . . . . . Playbook contains . . . . . . . . . . . . . . . . . . entire comprises instance . . . . . . . . . . . . . Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . function scaffolding . . . . . . . . . . . . . . . . . . . . development your first function . . . . . . . . . . . . . . . . extra flexibility with position vars and defaults . . . . . different position elements: handlers, documents, and templates . . . Handlers . . . . . . . . . . . . . . . . . . . documents and Templates . . . . . . . . . . . . . . Organizing extra complicated and cross-platform roles Ansible Galaxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ninety five ninety six ninety seven ninety eight a hundred 102 106 107 107 109 109 111 113 113 114 a hundred and fifteen one hundred fifteen 117 118 a hundred and twenty 122 122 a hundred twenty five a hundred twenty five 126 126 129 a hundred thirty 131 133 a hundred thirty five a hundred thirty five 136 137 a hundred and forty CONTENTS Getting roles from Galaxy . . . . . . . . . . . . . . . . . . . utilizing position standards documents to control dependencies A LAMP server in 8 traces of YAML . . . . . . . . . . . . A Solr server in 8 strains of YAML . . . . . . . . . . . . . necessary Galaxy instructions . . . . . . . . . . . . . . . . . . . Contributing to Ansible Galaxy . . . . . . . . . . . . . . . . precis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . one hundred forty 141 142 143 one hundred forty four a hundred forty five a hundred forty five bankruptcy 7 - Inventories . .

Download PDF sample

Rated 4.76 of 5 – based on 49 votes