cloud.common.turbo_fail module – A short module which honor additional args when calling fail_json

Note

This module is part of the cloud.common collection (version 2.1.2).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install cloud.common.

To use it in a playbook, specify: cloud.common.turbo_fail.

New in cloud.common 1.0.0

Synopsis

  • This module aims to test fail_json method on Ansible.turbo module

Parameters

Parameter

Comments

params

dictionary

parameter to display in task output

Examples

- name: Fail without additional arguments
  cloud.common.turbo_fail:

- name: Fail with additional arguments
  cloud.common.turbo_fail:
    params:
        test: "ansible"

Authors

  • Aubin Bikouo (@abikouo)