Mastering Ansible / Jesse Keating
Resource type: Ressourcentyp: Buch (Online)Book (Online)Language: English Series: Community experience distilledPublisher: Birmingham, UK : Packt Publishing, 2015Publisher: Birmingham, UNKNOWN : Packt PublishingEdition: 1Description: 1 online resource (236)ISBN:- 1784398241
- 9781784398248
- 005.1
- T55
- QA76.76.C69
- T58.5
Contents:
Summary: Cover -- Copyright -- Credits -- About the Author -- Acknowledgment -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: System Architecture and Design of Ansible -- Ansible version and configuration -- Inventory parsing and data sources -- The static inventory -- Inventory variable data -- Dynamic inventories -- Run-time inventory additions -- Inventory limiting -- Playbook parsing -- Order of operations -- Relative path assumptions -- Play behavior keys -- 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 -- Extra-vars -- Connection variables -- Most everything else -- The rest of the inventory variables -- Facts discovered about a system -- Role defaults -- Merging hashes -- Summary -- Chapter 2: Protecting Your Secrets with Ansible -- Encrypting data at rest -- Things Vault can encrypt -- Creating new encrypted files -- The password prompt -- The password file -- The password script -- Encrypting existing files -- Editing encrypted files -- Password rotation for encrypted files -- Decrypting encrypted files -- Executing ansible-playbook with Vault-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 -- Data manipulation -- Syntax -- Useful built-in filters -- default -- count -- random -- round -- Useful Ansible provided custom filters -- Filters related to task status.PPN: PPN: 860191087Package identifier: Produktsigel: ZDB-26-MYL | ZDB-30-PQE | ZDB-38-EBR
Cover; Copyright; Credits; About the Author; Acknowledgment; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: System Architecture and Design of Ansible; Ansible version and configuration; Inventory parsing and data sources; The static inventory; Inventory variable data; Dynamic inventories; Run-time inventory additions; Inventory limiting; Playbook parsing; Order of operations; Relative path assumptions; Play behavior keys; Host selection for plays and tasks; Play and task names; Module transport and execution; Module reference; Module arguments
Module transport and executionTask performance; Variable types and location; Variable types; Accessing external data; Variable precedence; Precedence order; Extra-vars; Connection variables; Most everything else; The rest of the inventory variables; Facts discovered about a system; Role defaults; Merging hashes; Summary; Chapter 2: Protecting Your Secrets with Ansible; Encrypting data at rest; Things Vault can encrypt; Creating new encrypted files; The password prompt; The password file; The password script; Encrypting existing files; Editing encrypted files
Password rotation for encrypted filesDecrypting encrypted files; Executing ansible-playbook with Vault-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; 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 namesBase64 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; 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 tasksConditional task includes; Tagging included tasks; Including handlers; Including variables; vars_files; Dynamic vars_files inclusion; include_vars; extra-vars; Including playbooks; Roles; Role structure; Tasks; Handlers; Variables; Modules; Dependencies; Files and templates; Putting it all together; Role dependencies; Role dependency variables; Tags; Role dependency conditionals; Role application; Mixing roles and tasks; Role sharing; Ansible Galaxy; Summary; Chapter 6: Minimizing Downtime with Rolling Deployments; In-place upgrades
Expanding and contracting
No physical items for this record