TY - BOOK AU - Mohaan,Madhurranjan AU - Raithatha,Ramesh TI - Learning Ansible: use Ansible to configure your systems, deploy software, and orchestrate advanced IT tasks T2 - Community experience distilled SN - 9781783550647 AV - QA76.76.C69 U1 - 006.76 23 PY - 2014///] CY - Birmingham, UK PB - Packt Publishing KW - Software configuration management KW - Information technology KW - Management KW - Open source software KW - Logiciels KW - Gestion de configurations KW - Technologie de l'information KW - Gestion KW - Logiciels libres KW - COMPUTERS KW - General KW - bisacsh KW - fast KW - Electronic books N1 - 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 N2 - 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 UR - https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=919350 ER -