O'Reilly logo

Learning Ansible by Ramesh Raithatha, Madhurranjan Mohaan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Serverspec tool

Serverspec (Serverspec Version 2, which was released recently, is called Specinfra 2) is another standalone tool, written in Ruby, which tests the intended state of machines by SSH'ing to the machines and running commands. Specinfra 2 supports only rspec 3, which is a popular Ruby test framework, as against rspec 2, which Serverspec v1 supported. Serverspec has gained tremendous popularity over the last several months and its USPs are that it can run with or without any of the configuration management tools, and it is agentless and declarative in nature. A typical workflow though is to run configuration management scripts followed by Serverspec tests.

Let's look at how to install Serverspec and how to start using it.

Installing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required