Among the many configuration management tools available, Ansible has some distinct advantages: It's minimal in nature. You don't need to install agents on your nodes. And there's an easy learning curve. With this updated third edition, you'll quickly learn how to be productive with Ansible whether y
Ansible: Automating Configuration Management and Deployment the Easy Way
โ Scribed by Hochstein, Lorin;Moser, Rene
- Publisher
- O'Reilly Media
- Year
- 2017
- Tongue
- English
- Edition
- 2nd edition
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
Copyright; Table of Contents; Foreword; Preface to the Second Edition; A Note About Language; Acknowledgments; From Lorin; From Renรฉ; Preface to the First Edition; Why I Wrote This Book; Who Should Read This Book; Navigating This Book; Conventions Used in This Book; Online Resources; Safariยฎ Books Online; How to Contact Us; Chapter 1. Introduction; A Note About Versions; Ansible: What Is It Good For?; How Ansible Works; What's So Great About Ansible?; Easy-to-Read Syntax; Nothing to Install on the Remote Hosts; Push Based; Ansible Scales Down; Built-in Modules; Very Thin Layer of Abstraction.
โฆ Table of Contents
Copyright
Table of Contents
Foreword
Preface to the Second Edition
A Note About Language
Acknowledgments
From Lorin
From Reneฬ
Preface to the First Edition
Why I Wrote This Book
Who Should Read This Book
Navigating This Book
Conventions Used in This Book
Online Resources
Safariยฎ Books Online
How to Contact Us
Chapter 1. Introduction
A Note About Versions
Ansible: What Is It Good For?
How Ansible Works
What's So Great About Ansible?
Easy-to-Read Syntax
Nothing to Install on the Remote Hosts
Push Based
Ansible Scales Down
Built-in Modules
Very Thin Layer of Abstraction. Is Ansible Too Simple?What Do I Need to Know?
What Isn't Covered
Installing Ansible
Setting Up a Server for Testing
Using Vagrant to Set Up a Test Server
Telling Ansible About Your Test Server
Simplifying with the ansible.cfg File
Moving Forward
Chapter 2. Playbooks: A Beginning
Some Preliminaries
A Very Simple Playbook
Specifying an Nginx Config File
Creating a Custom Home Page
Creating a Webservers Group
Running the Playbook
Playbooks Are YAML
Start of File
Comments
Strings
Booleans
Lists
Dictionaries
Line Folding
Anatomy of a Playbook
Plays
Tasks
Modules. Putting It All TogetherDid Anything Change? Tracking Host State
Getting Fancier: TLS Support
Generating a TLS Certificate
Variables
Generating the Nginx Configuration Template
Handlers
Running the Playbook
Chapter 3. Inventory: Describing Your Servers
The Inventory File
Preliminaries: Multiple Vagrant Machines
Behavioral Inventory Parameters
ansible_connection
ansible_shell_type
ansible_python_interpreter
ansible_*_interpreter
Changing Behavioral Parameter Defaults
Groups and Groups and Groups
Example: Deploying a Django App
Aliases and Ports
Groups of Groups. Numbered Hosts (Pets versus Cattle)Hosts and Group Variables: Inside the Inventory
Host and Group Variables: In Their Own Files
Dynamic Inventory
The Interface for a Dynamic Inventory Script
Writing a Dynamic Inventory Script
Preexisting Inventory Scripts
Breaking the Inventory into Multiple Files
Adding Entries at Runtime with add_host and group_by
add_host
group_by
Chapter 4. Variables and Facts
Defining Variables in Playbooks
Viewing the Values of Variables
Registering Variables
Facts
Viewing All Facts Associated with a Server
Viewing a Subset of Facts. Any Module Can Return FactsLocal Facts
Using set_fact to Define a New Variable
Built-in Variables
hostvars
inventory_hostname
Groups
Setting Variables on the Command Line
Precedence
Chapter 5. Introducing Mezzanine: Our Test Application
Why Deploying to Production Is Complicated
PostgreSQL: The Database
Gunicorn: The Application Server
Nginx: The Web Server
Supervisor: The Process Manager
Chapter 6. Deploying Mezzanine with Ansible
Listing Tasks in a Playbook
Organization of Deployed Files
Variables and Secret Variables.
โฆ Subjects
COMPUTERS--Computer Literacy;COMPUTERS--Computer Science;COMPUTERS--Data Processing;COMPUTERS--Hardware--General;COMPUTERS--Information Technology;COMPUTERS--Machine Theory;COMPUTERS--Reference;Configuration management;Programming languages (Electronic computers);Electronic books;COMPUTERS -- Computer Literacy;COMPUTERS -- Computer Science;COMPUTERS -- Data Processing;COMPUTERS -- Hardware -- General;COMPUTERS -- Information Technology;COMPUTERS -- Machine Theory;COMPUTERS -- Reference
๐ SIMILAR VOLUMES
<p><span>Among the many configuration management tools available, Ansible has some distinct advantages: It's minimal in nature. You don't need to install agents on your nodes. And there's an easy learning curve. With this updated third edition, you'll quickly learn how to be productive with Ansible
Among the many configuration management tools available, Ansible has some distinct advantages - it's minimal in nature, you don't need to install anything on your nodes, and it has an easy learning curve. This practical guide shows you how to be productive with this tool quickly, whether you're a de
<p><b>Design, develop, and solve real-world automation and orchestration problems by unlocking Ansible's automation capabilities</b></p><h4>Key Features</h4><ul><li>Completely revised and updated for Ansible 4.0 and beyond</li><li>Tackle complex automation challenges with the newly added features in