Learning Ansible : use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks /

Mohaan, Madhurranjan,

Learning Ansible : use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks / Use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks Madhurranjan Mohaan, Ramesh Raithatha. - 1 online resource : illustrations. - Community experience distilled . - Community experience distilled. .

Includes index.

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

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.

9781783550647 (electronic bk.) 1783550643 (electronic bk.)

CL0500000522 Safari Books Online 4A880A69-728D-4CBC-9F49-B9D763606060 OverDrive, Inc. http://www.overdrive.com

GBB728619 bnb

018006668 Uk


Software configuration management.
Information technology--Management.
Open source software.
Logiciels--Gestion de configurations.
Technologie de l'information--Gestion.
Logiciels libres.
COMPUTERS--General.
Open source software
Information technology--Management.
Software configuration management.


Electronic books.
Electronic books.

QA76.76.C69

006.76

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