inspec

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.

About

Inspec Ansible role for Linux

Install
ansible-galaxy install secfigo/ansible-role-inspec
GitHub repository
License
mit
Downloads
241
Owner
Senior Security Engineer, loves all things security. Reachable on all social media accounts via @secfigo handle https://www.linkedin.com/in/secfigo