Skip to content

secfigo/ansible-role-inspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: Inspec

Build Status

Installs Chef's Inspec, a tool to do compliance as code

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

inspec_version: "4.18.104"

The Packer version to install.

inspec_arch: "amd64"

The location where the Packer binary will be installed (should be in system $PATH).

Dependencies

None.

Example Playbook

- hosts: servers
  roles:
    - secfigo.inspec

Testing it locally using Vagrant

virtualenv --python python3 env
source env/bin/activate
pip3 install ansible 
vagrant up 
or 
vagrant provision

License

MIT

Author Information

This role was created in 2020 by Mohammed A. Imran, author of Practical DevSecOps Course.