Ansible role for provisioning and verifying servers using goss.
- Installs Goss on host
- Copies goss.yml over to host
- Verifies host using Goss
- Retrieves Goss results.json
---
- name: "Run Goss tests"
hosts: goss
become: true
become_user: root
vars:
caller_directory: "{{ playbook_dir }}"
caller_name: "goss"
roles:
- matttrach.goss
https://github.com/aelsabbahy/goss Static server testing, extremely easy to setup. Gossadd and gossautoadd are the magic sauce that makes it just wonderful to use.