Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.82 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.82 KB

Effective Testing with Ansible and InSpec

Ansible is an incredibly easy way to manage infrastructure and configuration. But what's the best way to ensure the changes to your Ansible playbooks have the intended outcome and do not introduce unwanted changes? And how can you verify your your playbook changes do not negatively impact the compliance status of your infrastructure?

In this session, we will learn about InSpec and how it's incredibly easy-to-read language allows for integration and compliance requirements to be expressed as code. We will look at how Test Kitchen and InSpec can be used to validate your Ansible playbooks and empower developers to test for compliance earlier in the development cycle. Additionally, we will also explore how to use and modify InSpec profiles created by others.

This repository includes code used in the Effective Testing with Ansible and InSpec talk given at Configuration Management Camp 2018.

License

Author: Nathen Harvey (nharvey@chef.io)
Copyright: Copyright 2018, Chef Software, Inc.
License: Apache License, Version 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.