Module - reportentry

This module provides for the following ansible plugin:

  • reportentry

Module Documentation

Print a custom report

Options

report_status

The report status. Should be 'OK', 'ERROR' or 'SKIPPED'.

report_reason

The reason of the report

report_recommendations

A list of recommendations to do.

Authors

Gael Chamoulaud

Example Tasks

- hosts: undercloud
  tasks:
  - name: Report DNS setup in undercloud.conf
    reportentry:
      report_reason: DNS is not setup correctly in undercloud.conf
      report_recommendations:
      - Please set the 'undercloud_nameservers' param in undercloud.conf
      report_status: ERROR