ORPP logo
Image from Google Jackets

Mastering Ansible, Second Edition : Master the Ins and Outs of Advanced Operations with Ansible.

By: Material type: TextTextPublisher: Birmingham : Packt Publishing, Limited, 2017Copyright date: ©2017Edition: 2nd edDescription: 1 online resource (303 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781787126770
Subject(s): Genre/Form: Additional physical formats: Print version:: Mastering Ansible, Second EditionDDC classification:
  • 658.40380000000005
LOC classification:
  • T58.5.M378 2017
Online resources:
Contents:
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.
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
No physical items for this record

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.

Description based on publisher supplied metadata and other sources.

Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2024. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.

There are no comments on this title.

to post a comment.

© 2024 Resource Centre. All rights reserved.