ORPP logo
Image from Google Jackets

Implementing DevOps with Ansible 2 : Leverage the Power of Ansible 2 and Related Tools and Scale DevOps Processes.

By: Contributor(s): Material type: TextTextPublisher: Birmingham : Packt Publishing, Limited, 2017Copyright date: ©2017Edition: 1st edDescription: 1 online resource (257 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781787126510
Subject(s): Genre/Form: Additional physical formats: Print version:: Implementing DevOps with Ansible 2DDC classification:
  • 658.40380000000005
LOC classification:
  • HD30.2.M335 2017
Online resources:
Contents:
Cover -- Copyright -- Credits -- About the Author -- Acknowledgments -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: DevOps Fundamentals -- DevOps 101 -- Culture -- Automation -- Measurement -- Sharing -- The History of DevOps -- Strides toward the future -- DevOps in the Modern Software Organization -- The DevOps assembly line -- Correlations between a DevOps assembly line and manufacturing -- DevOps architectures and practices -- Encapsulated software development -- Microservices -- Continuous Integration and Continuous Delivery -- Modularity -- Horizontal scalability -- Blue-green deployments -- Artifact management and versioning -- Symmetrical environments -- Summary -- Chapter 2: Configuration Management Essentials -- Understanding Configuration Management -- Origins of Configuration Management -- The Aims of Configuration Management -- Scenario 1 -- Scenario 2 -- Scenario 3 -- Scenario 4 -- Basic Principles of Configuration Management -- Configuration Management Best Practices -- How Ansible Simplifies DevOps Implementations -- Binary Artifact Management and Ansible -- Summary -- Chapter 3: Installing, Configuring, and Running Ansible -- Installing Ansible -- Red Hat Enterprise Linux via Configuration Management -- Apt for Debian/Apt for Ubuntu -- Porting Ansible to Gentoo -- PKG for FreeBSD -- Pip for macOS -- OpenCSW for Solaris/SunOS -- Via Python pip -- Once Ansible has been installed -- Setting up authentication between the control server and hosts -- The Ansible Architecture -- Open source -- Module-based -- Agentless -- Pluggable -- Local automation execution using Ansible -- Remote automation execution using Ansible -- Container-oriented automation -- The Ansible Command-Line Interface -- Usage: ansible &lt -- host-pattern&gt -- [options] -- Ansible command-line examples.
Configuring Ansible -- Common base configuration items -- The Ansible Inventory -- Defined inventory groups -- Loose inventory items/hosts/devices -- Executing playbook's and targeting specific inventory files and groups -- Summary -- Chapter 4: Playbooks and Inventory Files -- Ansible Playbook Constructs -- The programming languages that make up a playbook -- YAML -- Jinja2 - a brief introduction -- Constructing an Ansible playbook -- Hosts -- Variables (vars/vars_files) -- Tasks/plays -- Ansible Play's and Task's -- Ansible plays -- Ansible tasks -- Multiline task parameters -- Variables and Variable Files -- Basic variable syntax -- Variable files -- Hosts and Inventory -- Targeting Infrastructure -- Ansible Modules -- Managing packages in Ansible -- Yum -- The apt-get and dpkg -- Managing users in Ansible -- File and directory management in Ansible -- Managing services in Ansible -- Transferring files in Ansible -- Summary -- Chapter 5: Playbooks - Beyond the Fundamentals -- playbook's and Conditional Logic -- Iterators and Loops -- Basic loops using with_items -- Nested loops using with_nested -- Looping over hashes using with_dict -- Iterating over files using with_file -- Iterating over sequential numbers -- The do until iterator -- Iterating over inventory hosts using play_hosts -- Includes -- Play-level includes -- Task-level includes -- Dynamic includes -- Ansible Roles -- Ansible Register Variables -- Simple Ansible registers -- Accessing registers -- Additional conditional logic with registers -- Null or empty comparisons -- Vars and Ansible registers -- Iterating over register contents -- Ansible Handlers -- Summary -- Chapter 6: Jinja in Ansible -- Introducing Jinja -- Jinja2 Programming Constructs -- Expressions, filters, and variables -- Jinja string concatenation and manipulation -- Basic arithmetic operations in Jinja.
Compound math equations and order of operations in Jinja -- Filters available -- Conditional logic (if-then-else) -- Loops and iterators -- Simple counters -- List iterators -- Complex iterators using Jinja -- Applying Jinja in Ansible Playbook's -- Summary -- Chapter 7: Ansible Vault -- The Ansible Vault Architecture -- Basic Vault Usage -- Encrypting an Ansible vault YAML file -- To decrypt -- To rekey an Ansible vault file -- Editing in place -- Decrypting the vault when running a playbook -- Automatically decrypting using password files -- Manually decrypting vault data -- Real-world Ansible Vault Workflow -- Ansible vault with roles -- Summary -- Chapter 8: Ansible Modules and Libraries -- Introducing Ansible Modules -- Integrating Ansible with Other Technologies -- Ansible with JIRA -- Ansible and Git -- Ansible and Jenkins -- Ansible and Docker -- Summary -- Chapter 9 : Integrating Ansible with CI and CD Solutions -- Overview of Continuous Integration -- Continuous integration concepts and practices -- Handling unfinished work -- Branch by abstraction -- Feature toggles -- A/B testing patterns -- Overview of Continuous Delivery -- Continuous Delivery defined -- Handling complex and long running builds and deployments -- CI-&gt -- CD feedback loop -- Blue-green deployments -- CI-&gt -- CD anti-patterns -- Ansible's Role in CI-&gt -- CD -- Ansible best practices in CI-&gt -- CD -- Integrating Ansible with Jenkins -- The Jenkins Ansible plugin -- The Jenkins Ansible API modules -- The jenkins_job Ansible Module -- Integrating Ansible with Vagrant -- Leveraging Ansible for Vagrant provisioning -- Summary -- Chapter 10: Ansible and Docker -- Understanding Docker's Architecture -- Understanding Docker containers as environments -- Managing Docker Containers with Ansible -- Creating Docker containers -- Removing Docker containers.
Launching and stopping Docker containers -- Managing network access Docker containers -- Using Ansible to Create Docker Images -- Using Dockerfiles to launch Ansible playbooks -- Managing Docker Images with Ansible -- Pulling, pushing, and tagging images -- Building and archiving Docker images -- Saving and loading archived Docker images -- Gathering Facts About Docker Containers -- Summary -- Chapter 11 : Extending Ansible -- Understanding Ansible Plugins and its Architecture -- When should we create a module? -- Setting Up the Ansible Module Development Environment -- Ansible module testing tool setup -- Developing Hello World Ansible Module -- Testing a developmental Ansible module -- Reading input parameters -- Adding custom facts to a module -- Setting up the Ansible Plugin Development Environment -- Understanding the Different Types of Plugins -- Action plugins -- Callback plugins -- Connection plugins -- Lookup plugins -- Distributing Ansible plugins -- Summary -- Chapter 12 : Ansible Galaxy -- Ansible Galaxy Fundamentals -- The Ansible Galaxy website -- The Ansible Galaxy command-line interface -- Ansible Galaxy command-line options explained -- The install subcommand -- The delete subcommand -- The import subcommand -- The ifo subcommand -- The init command -- The list subcommand -- The login subcommand -- The remove subcommand -- The search subcommand -- The setup subcommand -- The help command -- 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 -- Acknowledgments -- About the Reviewer -- www.PacktPub.com -- Customer Feedback -- Table of Contents -- Preface -- Chapter 1: DevOps Fundamentals -- DevOps 101 -- Culture -- Automation -- Measurement -- Sharing -- The History of DevOps -- Strides toward the future -- DevOps in the Modern Software Organization -- The DevOps assembly line -- Correlations between a DevOps assembly line and manufacturing -- DevOps architectures and practices -- Encapsulated software development -- Microservices -- Continuous Integration and Continuous Delivery -- Modularity -- Horizontal scalability -- Blue-green deployments -- Artifact management and versioning -- Symmetrical environments -- Summary -- Chapter 2: Configuration Management Essentials -- Understanding Configuration Management -- Origins of Configuration Management -- The Aims of Configuration Management -- Scenario 1 -- Scenario 2 -- Scenario 3 -- Scenario 4 -- Basic Principles of Configuration Management -- Configuration Management Best Practices -- How Ansible Simplifies DevOps Implementations -- Binary Artifact Management and Ansible -- Summary -- Chapter 3: Installing, Configuring, and Running Ansible -- Installing Ansible -- Red Hat Enterprise Linux via Configuration Management -- Apt for Debian/Apt for Ubuntu -- Porting Ansible to Gentoo -- PKG for FreeBSD -- Pip for macOS -- OpenCSW for Solaris/SunOS -- Via Python pip -- Once Ansible has been installed -- Setting up authentication between the control server and hosts -- The Ansible Architecture -- Open source -- Module-based -- Agentless -- Pluggable -- Local automation execution using Ansible -- Remote automation execution using Ansible -- Container-oriented automation -- The Ansible Command-Line Interface -- Usage: ansible &lt -- host-pattern&gt -- [options] -- Ansible command-line examples.

Configuring Ansible -- Common base configuration items -- The Ansible Inventory -- Defined inventory groups -- Loose inventory items/hosts/devices -- Executing playbook's and targeting specific inventory files and groups -- Summary -- Chapter 4: Playbooks and Inventory Files -- Ansible Playbook Constructs -- The programming languages that make up a playbook -- YAML -- Jinja2 - a brief introduction -- Constructing an Ansible playbook -- Hosts -- Variables (vars/vars_files) -- Tasks/plays -- Ansible Play's and Task's -- Ansible plays -- Ansible tasks -- Multiline task parameters -- Variables and Variable Files -- Basic variable syntax -- Variable files -- Hosts and Inventory -- Targeting Infrastructure -- Ansible Modules -- Managing packages in Ansible -- Yum -- The apt-get and dpkg -- Managing users in Ansible -- File and directory management in Ansible -- Managing services in Ansible -- Transferring files in Ansible -- Summary -- Chapter 5: Playbooks - Beyond the Fundamentals -- playbook's and Conditional Logic -- Iterators and Loops -- Basic loops using with_items -- Nested loops using with_nested -- Looping over hashes using with_dict -- Iterating over files using with_file -- Iterating over sequential numbers -- The do until iterator -- Iterating over inventory hosts using play_hosts -- Includes -- Play-level includes -- Task-level includes -- Dynamic includes -- Ansible Roles -- Ansible Register Variables -- Simple Ansible registers -- Accessing registers -- Additional conditional logic with registers -- Null or empty comparisons -- Vars and Ansible registers -- Iterating over register contents -- Ansible Handlers -- Summary -- Chapter 6: Jinja in Ansible -- Introducing Jinja -- Jinja2 Programming Constructs -- Expressions, filters, and variables -- Jinja string concatenation and manipulation -- Basic arithmetic operations in Jinja.

Compound math equations and order of operations in Jinja -- Filters available -- Conditional logic (if-then-else) -- Loops and iterators -- Simple counters -- List iterators -- Complex iterators using Jinja -- Applying Jinja in Ansible Playbook's -- Summary -- Chapter 7: Ansible Vault -- The Ansible Vault Architecture -- Basic Vault Usage -- Encrypting an Ansible vault YAML file -- To decrypt -- To rekey an Ansible vault file -- Editing in place -- Decrypting the vault when running a playbook -- Automatically decrypting using password files -- Manually decrypting vault data -- Real-world Ansible Vault Workflow -- Ansible vault with roles -- Summary -- Chapter 8: Ansible Modules and Libraries -- Introducing Ansible Modules -- Integrating Ansible with Other Technologies -- Ansible with JIRA -- Ansible and Git -- Ansible and Jenkins -- Ansible and Docker -- Summary -- Chapter 9 : Integrating Ansible with CI and CD Solutions -- Overview of Continuous Integration -- Continuous integration concepts and practices -- Handling unfinished work -- Branch by abstraction -- Feature toggles -- A/B testing patterns -- Overview of Continuous Delivery -- Continuous Delivery defined -- Handling complex and long running builds and deployments -- CI-&gt -- CD feedback loop -- Blue-green deployments -- CI-&gt -- CD anti-patterns -- Ansible's Role in CI-&gt -- CD -- Ansible best practices in CI-&gt -- CD -- Integrating Ansible with Jenkins -- The Jenkins Ansible plugin -- The Jenkins Ansible API modules -- The jenkins_job Ansible Module -- Integrating Ansible with Vagrant -- Leveraging Ansible for Vagrant provisioning -- Summary -- Chapter 10: Ansible and Docker -- Understanding Docker's Architecture -- Understanding Docker containers as environments -- Managing Docker Containers with Ansible -- Creating Docker containers -- Removing Docker containers.

Launching and stopping Docker containers -- Managing network access Docker containers -- Using Ansible to Create Docker Images -- Using Dockerfiles to launch Ansible playbooks -- Managing Docker Images with Ansible -- Pulling, pushing, and tagging images -- Building and archiving Docker images -- Saving and loading archived Docker images -- Gathering Facts About Docker Containers -- Summary -- Chapter 11 : Extending Ansible -- Understanding Ansible Plugins and its Architecture -- When should we create a module? -- Setting Up the Ansible Module Development Environment -- Ansible module testing tool setup -- Developing Hello World Ansible Module -- Testing a developmental Ansible module -- Reading input parameters -- Adding custom facts to a module -- Setting up the Ansible Plugin Development Environment -- Understanding the Different Types of Plugins -- Action plugins -- Callback plugins -- Connection plugins -- Lookup plugins -- Distributing Ansible plugins -- Summary -- Chapter 12 : Ansible Galaxy -- Ansible Galaxy Fundamentals -- The Ansible Galaxy website -- The Ansible Galaxy command-line interface -- Ansible Galaxy command-line options explained -- The install subcommand -- The delete subcommand -- The import subcommand -- The ifo subcommand -- The init command -- The list subcommand -- The login subcommand -- The remove subcommand -- The search subcommand -- The setup subcommand -- The help command -- 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.