Amazon cover image
Image from Amazon.com

Learning Ansible : use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks / Madhurranjan Mohaan, Ramesh Raithatha.

By: Contributor(s): Material type: TextTextSeries: Community experience distilledPublisher: Birmingham, UK : Packt Publishing, [2014]Copyright date: ©2014Description: 1 online resource : illustrationsContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 9781783550647
  • 1783550643
Other title:
  • Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks
Subject(s): Genre/Form: Additional physical formats: Print version:: Learning Ansible : use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks.DDC classification:
  • 006.76 23
LOC classification:
  • QA76.76.C69
Online resources:
Contents:
Cover; Learning Ansible; Credits; About the Authors; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Ansible; What is Ansible?; Installing Ansible; Installing Ansible from source; Installing Ansible using the system's package manager; Hello Ansible; The Ansible architecture; Configuring Ansible; Configuration using environment variables; Configuration using ansible.cfg; Configuration management; Working with playbooks; The anatomy of a playbook; Variables and their types; Variable names; Valid variable names in Ansible
Invalid variable names in AnsibleVariables in an included task file; Variables in a playbook; Variables in a global file; Facts as variables; Command-line variables; Variables in an inventory file; Working with inventory files; The basic inventory file; Groups in an inventory file; Groups of groups; Regular expressions with an inventory file; External variables; Host variables; Group variables; Variable files; Overriding configuration parameters with an inventory file; Working with modules; Command modules; The command module; The raw module; The script module; The shell module; File modules
The file moduleDebugging in Ansible; The template module; The copy module; The source control module -- git; Summary; Chapter 2: Developing, Testing, and Releasing Playbooks; Managing source code -- Git; Developing a playbook; Installing VirtualBox and Vagrant; Downloading the Vagrant box; Developing a machine; Provisioning in Vagrant using an Ansible provisioner; Testing a playbook; Using the -- syntax-check option; The check mode; Indicating differences between files using -- diff; Functional testing in Ansible; Functional testing using Assert; Testing with tags; The -- skip-tags
The Serverspec toolInstalling Serverspec; Analyzing the Rakefile and running tests; Running playbook_tester; Handling environments; Code based on Git branch; A single stable branch with multiple folders; Summary; Chapter 3: Taking Ansible to Production; Working with the local_action feature; Working with conditionals; Working with loops; Standard loops; Nested Loops; Looping over subelements; Working with include; Working with handlers; Working with roles; The Cassandra role; Creating a task file with roles; Using handlers with roles; The Ansible template -- Jinja filters
Formatting data using filtersUsing filters with conditionals; Defaulting undefined variables; Security Management; Using Ansible Vault; Encrypting user passwords; Hiding passwords; Using no_log; Summary; Chapter 4: Error Handling, Rollback, and Reporting; Error handling and Rollback; Executing the playbook; Callback plugins; Monitoring and alerting; E-mails; HipChat; Nagios; Graphite; Time for an error; Summary; Chapter 5: Working with Custom Modules; Using Python modules; Working with exit_json and fail_json; Testing Python modules; Using Bash modules; Using Ruby modules; Testing modules
Summary: Annotation If you want to learn how to use Ansible to automate an infrastructure, either from scratch or to augment your current tooling with Ansible, then this is the book for you. It has plenty of practical examples to help you get to grips with Ansible.
Item type:
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)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Includes index.

Online resource; title from cover (Safari, viewed December 18, 2014).

Annotation If you want to learn how to use Ansible to automate an infrastructure, either from scratch or to augment your current tooling with Ansible, then this is the book for you. It has plenty of practical examples to help you get to grips with Ansible.

Cover; Learning Ansible; Credits; About the Authors; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Ansible; What is Ansible?; Installing Ansible; Installing Ansible from source; Installing Ansible using the system's package manager; Hello Ansible; The Ansible architecture; Configuring Ansible; Configuration using environment variables; Configuration using ansible.cfg; Configuration management; Working with playbooks; The anatomy of a playbook; Variables and their types; Variable names; Valid variable names in Ansible

Invalid variable names in AnsibleVariables in an included task file; Variables in a playbook; Variables in a global file; Facts as variables; Command-line variables; Variables in an inventory file; Working with inventory files; The basic inventory file; Groups in an inventory file; Groups of groups; Regular expressions with an inventory file; External variables; Host variables; Group variables; Variable files; Overriding configuration parameters with an inventory file; Working with modules; Command modules; The command module; The raw module; The script module; The shell module; File modules

The file moduleDebugging in Ansible; The template module; The copy module; The source control module -- git; Summary; Chapter 2: Developing, Testing, and Releasing Playbooks; Managing source code -- Git; Developing a playbook; Installing VirtualBox and Vagrant; Downloading the Vagrant box; Developing a machine; Provisioning in Vagrant using an Ansible provisioner; Testing a playbook; Using the -- syntax-check option; The check mode; Indicating differences between files using -- diff; Functional testing in Ansible; Functional testing using Assert; Testing with tags; The -- skip-tags

The Serverspec toolInstalling Serverspec; Analyzing the Rakefile and running tests; Running playbook_tester; Handling environments; Code based on Git branch; A single stable branch with multiple folders; Summary; Chapter 3: Taking Ansible to Production; Working with the local_action feature; Working with conditionals; Working with loops; Standard loops; Nested Loops; Looping over subelements; Working with include; Working with handlers; Working with roles; The Cassandra role; Creating a task file with roles; Using handlers with roles; The Ansible template -- Jinja filters

Formatting data using filtersUsing filters with conditionals; Defaulting undefined variables; Security Management; Using Ansible Vault; Encrypting user passwords; Hiding passwords; Using no_log; Summary; Chapter 4: Error Handling, Rollback, and Reporting; Error handling and Rollback; Executing the playbook; Callback plugins; Monitoring and alerting; E-mails; HipChat; Nagios; Graphite; Time for an error; Summary; Chapter 5: Working with Custom Modules; Using Python modules; Working with exit_json and fail_json; Testing Python modules; Using Bash modules; Using Ruby modules; Testing modules

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library