• Complain

Keating - Mastering Ansible master the ins and outs of advanced operations with Ansible

Here you can read online Keating - Mastering Ansible master the ins and outs of advanced operations with Ansible full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Birmingham, year: 2017;2018, publisher: Packt Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Mastering Ansible master the ins and outs of advanced operations with Ansible
  • Author:
  • Publisher:
    Packt Publishing
  • Genre:
  • Year:
    2017;2018
  • City:
    Birmingham
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Mastering Ansible master the ins and outs of advanced operations with Ansible: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Mastering Ansible master the ins and outs of advanced operations with Ansible" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Cover -- Copyright -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: System Architecture and Design of Ansible -- Ansible version and configuration -- Inventory parsing and data sources -- Static inventory -- Inventory variable data -- Dynamic inventories -- Runtime inventory additions -- Inventory limiting -- Playbook parsing -- Order of operations -- Relative path assumptions -- Play behavior directives -- Execution strategies -- Host selection for plays and tasks -- Play and task names -- Module transport and execution -- Module reference -- Module arguments -- Module transport and execution -- Task performance -- Variable types and location -- Variable types -- Accessing external data -- Variable precedence -- Precedence order -- Merging hashes -- Summary -- Chapter 2: Protecting Your Secrets with Ansible -- Encrypting data at rest -- Things Vault can encrypt -- Creating new encrypted files -- Password prompt -- Password file -- Password script -- Encrypting existing files -- Editing encrypted files -- Password rotation on encrypted files -- Decrypting encrypted files -- Executing Ansible-playbook with encrypted files -- Protecting secrets while operating -- Secrets transmitted to remote hosts -- Secrets logged to remote or local files -- Summary -- Chapter 3: Unlocking the Power of Jinja2 Templates -- Control structures -- Conditionals -- Inline conditionals -- Loops -- Filtering loop items -- Loop indexing -- Macros -- Macro variables -- name -- arguments -- defaults -- catch_kwargs -- catch_varargs -- caller -- Data manipulation -- Syntax -- Useful built-in filters -- default -- count -- random -- round -- Useful Ansible provided custom filters -- Filters related to task status -- shuffle -- Filters dealing with path names -- basename -- dirname;Expanduser -- Base64 encoding -- Searching for content -- Omitting undefined arguments -- Python object methods -- String methods -- List methods -- int and float methods -- Comparing values -- Comparisons -- Logic -- Tests -- Summary -- Chapter 4: Controlling Task Conditions -- Defining a failure -- Ignoring errors -- Defining an error condition -- Defining a change -- Special handling of the command family -- Suppressing a change -- Error recovery -- Rescue -- Always -- Summary -- Chapter 5: Composing Reusable Ansible Content with Roles -- Task, handler, variable, and playbook include concepts -- Including tasks -- Passing variable values to included tasks -- Passing complex data to included tasks -- Conditional task includes -- Tagging included tasks -- Task includes with loops -- Including handlers -- Including variables -- vars_files -- Dynamic vars_files inclusion -- include_vars -- extra-vars -- Including playbooks -- Roles -- Role structure -- Tasks -- Handlers -- Variables -- Modules and plugins -- Dependencies -- Files and templates -- Putting it all together -- Role dependencies -- Role dependency variables -- Tags -- Role dependency conditionals -- Role application -- Mixing roles and tasks -- Role includes -- Role sharing -- Ansible Galaxy -- Summary -- Chapter 6: Minimizing Downtime with Rolling Deployments -- In-place upgrades -- Expanding and contracting -- Failing fast -- The any_errors_fatal option -- The max_fail_percentage option -- Forcing handlers -- Minimizing disruptions -- Delaying a disruption -- Running destructive tasks only once -- Serializing single tasks -- Summary -- Chapter 7: Troubleshooting Ansible -- Playbook logging and verbosity -- Verbosity -- Logging -- Variable introspection -- Variable sub elements -- Subelement versus Python object method -- Debugging code execution -- Playbook debugging;Debugging local code -- Debugging inventory code -- Debugging playbook code -- Debugging executor code -- Debugging remote code -- Debugging the action plugins -- Summary -- Chapter 8: Extending Ansible -- Developing modules -- The basic module construct -- Custom modules -- Simple module -- Module documentation -- Providing fact data -- The check mode -- Supporting the check mode -- Handling check mode -- Developing plugins -- Connection type plugins -- Shell plugins -- Lookup plugins -- Vars plugins -- The fact caching plugins -- Filter plugins -- Callback plugins -- Action plugins -- Distributing plugins -- Developing dynamic inventory plugins -- Listing hosts -- Listing host variables -- Simple inventory plugin -- Optimizing script performance -- Contributing to the Ansible project -- Contribution submissions -- The ansible repository -- Executing tests -- Unit tests -- Integration tests -- Code style tests -- Making a pull request -- Summary -- Chapter 9: Infrastructure Provisioning -- Managing cloud infrastructure -- Creating servers -- Booting virtual servers -- Adding to runtime inventory -- Using OpenStack inventory source -- Interacting with Docker containers -- Building images -- Building containers without a Dockerfile -- Docker inventory -- Previewing of Ansible container -- Init -- Build -- Run -- Summary -- Index

Keating: author's other books


Who wrote Mastering Ansible master the ins and outs of advanced operations with Ansible? Find out the surname, the name of the author of the book and a list of all author's works by series.

Mastering Ansible master the ins and outs of advanced operations with Ansible — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Mastering Ansible master the ins and outs of advanced operations with Ansible" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Mastering Ansible Second Edition Master the ins and outs of advanced - photo 1
Mastering Ansible
Second Edition
Master the ins and outs of advanced operations with Ansible
Jesse Keating

BIRMINGHAM - MUMBAI Mastering Ansible Second Edition Copyright 2017 Packt - photo 2

BIRMINGHAM - MUMBAI
Mastering Ansible
Second Edition

Copyright 2017 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: November 2015

Second edition: March 2017

Production reference: 1270317

Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham
B3 2PB, UK.

ISBN 978-1-78712-568-1

www.packtpub.com

Credits Author Jesse Keating Copy Editor Safis Editing Reviewer - photo 3

Credits

Author

Jesse Keating

Copy Editor

Safis Editing

Reviewer

Sreenivas Makam

Project Coordinator

Kinjal Bari

Acquisition Editor

Prachi Bisht

Proofreader

Safis Editing

ContentDevelopmentEditor

Trusha Shriyan

Indexer

Pratik Shirodkar

Technical Editor

Varsha Shivhare

Production Coordinator

Nilesh Mohite

Graphics

Kirk D'Penha

About the Author

Jesse Keating is an accomplished Ansible user, contributor, and presenter. He has been an active member of the Linux and open source community for over fifteen years. He has first-hand experience with a variety of IT activities, software development, and large-scale system administration. He has presented at numerous conferences and meet-ups, and has written many articles on a variety of topics.

About the Reviewer

Sreenivas Makam is a senior engineering manager at Cisco Systems, Bangalore. He has a master's in electrical engineering and has around 18 years experience in the networking industry. He has worked in both startups and big, established companies. His interests include Containers, SDN, network automation, devops, and cloud technologies, and he likes to try out and follow open source projects in these areas. His blog can be found at https://sreeninet.wordpress.com/, he has presentations at http://www.slideshare.net/SreenivasMakam, and his hacky code is at https://github.com/smakam. Sreenivas is a Docker Captain, (https://www.docker.com/community/docker-captains) and his blog articles have been published in Docker weekly newsletters. He can be reached on Twitter at @srmakam.

He has written Mastering CoreOS, also reviewed Mastering Ansible, CoreOS Cookbook, all by Packt Publishing.

It was extra special that my second daughter, Masha, was born while reviewing this book. Thanks to my daughters, Sasha and Masha, for keeping me energetic.
www.PacktPub.com

For support files and downloads related to your book, please visit www.PacktPub.com .

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at service@packtpub.com for more details.

At www.PacktPub.com , you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

httpswwwpacktpubcommapt Get the most in-demand software skills with Mapt - photo 4

https://www.packtpub.com/mapt

Get the most in-demand software skills with Mapt. Mapt gives you full access to all Packt books and video courses, as well as industry-leading tools to help you plan your personal development and advance your career.

Why subscribe?
  • Fully searchable across every book published by Packt
  • Copy and paste, print, and bookmark content
  • On demand and accessible via a web browser
Customer Feedback

Thanks for purchasing this Packt book. At Packt, quality is at the heart of our editorial process. To help us improve, please leave us an honest review on this book's Amazon page at https://www.amazon.com/dp/1787282589.

If you'd like to join our team of regular reviewers, you can e-mail us at customerreviews@packtpub.com. We award our regular reviewers with free eBooks and videos in exchange for their valuable feedback. Help us be relentless in improving our products!

Preface

Welcome to Mastering Ansible, your guide to a variety of advanced features and functionalities provided by Ansible, the automation and orchestration tool. This book will provide readers with the knowledge and skills to truly understand how Ansible functions at a fundamental level. This will allow readers to master the advanced capabilities needed to tackle complex automation challenges of today and the future. Readers will gain knowledge of Ansible workflows, explore use cases for advanced features, troubleshoot unexpected behavior, and extend Ansible through customization.

What this book covers

, System Architecture and Design of Ansible , looks at the ins and outs of how Ansible goes about performing tasks on behalf of an engineer, how it is designed, and how to work with inventory and variables.

, Protecting Your Secrets with Ansible , explores the tools available to encrypt data at rest and prevent secrets from being revealed at runtime.

, Unlocking the Power of Jinja2 Templates , states the varied uses of the Jinja2 templating engine within Ansible and discusses ways to make the most out of its capabilities.

, Controlling Task Conditions , describes the changing of the default behavior of Ansible to customize task error and change conditions.

, Composing Reusable Ansible Content with Roles, covers the approach to move beyond executing loosely-organized tasks on hosts to encapsulating clean and reusable abstractions to apply a specific functionality of a target set of hosts.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Mastering Ansible master the ins and outs of advanced operations with Ansible»

Look at similar books to Mastering Ansible master the ins and outs of advanced operations with Ansible. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Mastering Ansible master the ins and outs of advanced operations with Ansible»

Discussion, reviews of the book Mastering Ansible master the ins and outs of advanced operations with Ansible and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.