Ansible: Up and Running
Automating Configuration Management and Deployment the Easy Way
Publisher: O'Reilly Media
Final Release Date: December 2014
Pages: 334

Among the many configuration management tools available, Ansible has some distinct advantages—it’s minimal in nature, you don’t need to install anything on your nodes, and it has an easy learning curve. This practical guide shows you how to be productive with this tool quickly, whether you’re a developer deploying code to production or a system administrator looking for a better automation solution.

Author Lorin Hochstein shows you how to write playbooks (Ansible’s configuration management scripts), manage remote servers, and explore the tool’s real power: built-in declarative modules. You’ll discover that Ansible has the functionality you need and the simplicity you desire.

  • Understand how Ansible differs from other configuration management systems
  • Use the YAML file format to write your own playbooks
  • Learn Ansible’s support for variables and facts
  • Work with a complete example to deploy a non-trivial application
  • Use roles to simplify and reuse playbooks
  • Make playbooks run faster with ssh multiplexing, pipelining, and parallelism
  • Deploy applications to Amazon EC2 and other cloud platforms
  • Use Ansible to create Docker images and deploy Docker containers
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyAnsible: Up and Running
 
4.5

(based on 10 reviews)

Ratings Distribution

  • 5 Stars

     

    (7)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

90%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (10)
  • Helpful examples (9)
  • Well-written (8)
  • Accurate (5)
  • Concise (4)

Cons

No Cons

Best Uses

  • Novice (9)
  • Intermediate (7)
  • Student (4)
    • Reviewer Profile:
    • Sys admin (5), Developer (4)

Reviewed by 10 customers

Displaying reviews 1-10

Back to top

 
4.0

Just like the book says, "up and running"

By Mike

from Ottawa, ON

About Me Designer, Developer, Sys Admin

Verified Buyer

Pros

  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Novice

    Comments about oreilly Ansible: Up and Running:

    The book delivered exactly what it said it would: the ability to get Ansible up in running in a short period of time.

    The first time I read through this book, it went in one ear and out the other. While I vaguely understood the syntax and "how" Ansible worked, it was only when I started trying Ansible out for work that I found the book to be excellent reference material. I started out using this book as a template for my project, slowly migrating it over to Ansible's "best practices" documentation. All in all, I would definitely recommend this book.

    (1 of 1 customers found this review helpful)

     
    5.0

    Good coverage, well written, and filled with good practices.

    By ranger6

    from Grenoble, France

    About Me Developer, Educator

    Verified Buyer

    Pros

    • Accurate
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Ansible: Up and Running:

      If you combine this book with the excellent online Ansible docs, you've got it all: examples, best practice, tour of capabilities, alternate scenarios (Vagrant, Docker, Cloud, production vs test), and an authoritative reference guide.
      So many IT books these days are filled with happy talk and simple re-phrasing of what's already available. This book reminds me of books before it was all so easy; a time when authors/editors did real work and applied their craft.

       
      5.0

      Super helpful for ansible novice

      By Craig

      from Galveston, TX

      Verified Buyer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice

        Comments about oreilly Ansible: Up and Running:

        I had to create deployment scripts and I had no experience with ansible or similar tools. I purchased the book because the information I'd found online wasn't helpful. The book was great! It first explains the underlying approach and then walks through simple examples before getting to more complicated examples. The book is well written and easy to understand. It makes few assumptions about what you already know. I was able to explain things to others after reading (most of) the book. It also offers ideas on debugging & troubleshooting, which is nontrivial with ansible. One of the most useful books I've purchased.

        (0 of 1 customers found this review helpful)

         
        5.0

        Great stuff!

        By dvaida

        from Berlin, Germany

        Pros

        • Easy to understand

        Cons

          Best Uses

            Comments about oreilly Ansible: Up and Running:

            Has exactly what it says.

            (1 of 1 customers found this review helpful)

             
            5.0

            Exemplary technical writing!

            By Joel

            from Research Triangle Park, NC

            About Me Network Engineer

            Verified Reviewer

            Pros

            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate
              • Novice
              • Student

              Comments about oreilly Ansible: Up and Running:

              I've used Ansible for six months and have written several Ansible modules which run in Tower and command line. I'm in the process of developing a training curriculum on how to use Ansible for deploying ACI fabrics, and this book is in the references and recommended reading. I've learned a great deal from the first two chapters and purchased the complete eBook for my reference. A must have.

              (2 of 2 customers found this review helpful)

               
              2.0

              Misses important informations

              By Luca D

              from Cambridge, UK

              About Me Sys Admin

              Pros

              • Concise
              • Easy to understand
              • Helpful examples

              Cons

              • Missing Section On Condit

              Best Uses

              • Intermediate
              • Novice

              Comments about oreilly Ansible: Up and Running:

              I've bought this book since I wanted to start using Ansible to manage configurations and deployments on servers, so i didin't need to cover a few specific cases but needed to gain confidence in using Ansible and creating playbooks etc.

              Overall the book is good it tends to be concise and to the point with some examples that can help better grasp teh concepts.

              The biggest flaw i found is that it is completely missing explanation of the conditionals in playbooks and roles which is something that i think it's fundamental when it comes to reutilize and adapt to different situations without recreating everything from scratch every time to deal with a few exceptions.

              I've gone through the book a few times, but didn't find that part even though some "when" clauses are used in the mezzanine example, please correct me if i'm wrong or add the missing part.

              (1 of 2 customers found this review helpful)

               
              5.0

              A must have, when starting out with Ansible.

              By simplycycling

              from Bethlehem, PA

              About Me Sys Admin

              Verified Buyer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice
                • Student

                Comments about oreilly Ansible: Up and Running:

                One of the problems with Ansible is, it's new enough that the documentation is only so in depth. Ansible Up & Running is an almost mandatory companion, and in many ways is superior to the Ansible documentation, as it goes beyond telling you what something is (which in the case of the Ansible docs, leaves too much room for "interpretation"), and tells you how it's actually used, and the best way to use it. Well written, easy to assimilate information that will benefit a wide range of skill levels. I purchased the epub version, but I will also be purchasing a hard copy for my company's tech bookshelf.

                (3 of 3 customers found this review helpful)

                 
                5.0

                The best way to get up and running!

                By Onlydole

                from Cleveland, OH

                About Me Developer, Sys Admin

                Verified Buyer

                Pros

                • Accurate
                • Concise
                • Easy to understand
                • Helpful examples
                • Well-written

                Cons

                  Best Uses

                  • Intermediate
                  • Novice
                  • Student

                  Comments about oreilly Ansible: Up and Running:

                  This book was a wonderful introduction to Ansible! It gave such great, well-worded examples of how the system hooks together, and how to make it work in your organization or project.

                  I really enjoyed how you got to take a look at the roles system that is set up in ansible, as well as some of the common pitfalls and best ways to succeed.

                  I wish all books were as great as this one, it paints a very clear picture (quite quickly too) of how to do DevOps with Ansible.

                  (6 of 6 customers found this review helpful)

                   
                  5.0

                  Great balance, amazing intro, well writt

                  By Leif Madsen

                  from Toronto, ON, Canada

                  About Me Designer, Developer, Maker, Sys Admin

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Concise
                  • Easy to read
                  • Easy to understand
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Ansible: Up and Running:

                    Coming from a Chef and (minor) Puppet background, I wanted to take a look at Ansible to determine if it did what I needed, and was a quicker way to getting stuff automated at a new job.

                    Wow! So far I am very impressed with Ansible. It will make it much easier for internal training once we have all our playbooks written.

                    This book, while still in the rough cuts stage (at the time of this review) is one of the most well written and laid out technical books I've ever read. The balance between information, examples, and keeping things moving along really is spot on.

                    Anyone using this book should be well versed in the basics of Ansible by the time they are done, and able to start automating their deployments in a matter of days (not weeks or months).

                    (4 of 6 customers found this review helpful)

                     
                    4.0

                    Just perfect

                    By Not Jim the Runner

                    from Germany

                    Pros

                    • Accurate
                    • Easy to understand
                    • Helpful examples
                    • Well-written

                    Cons

                      Best Uses

                      • Novice

                      Comments about oreilly Ansible: Up and Running:

                      Very good book for beginners with Ansible. Easy explained. Plain, not complicated written. A lot of practicle examples for direct use.

                      I would have bought it directly after reading end of december. But, it is not finished yet.
                      Will order it a soon as it will be available.

                      Displaying reviews 1-10

                      Back to top

                       
                      Buy 2 Get 1 Free Free Shipping Guarantee
                      Buying Options
                      Immediate Access - Go Digital what's this?
                      Ebook:  $33.99
                      Formats:  DAISY, ePub, Mobi, PDF
                      Print & Ebook:  $43.99
                      Print:  $39.99