Table of Contents

Ansible - JsonArgs Module Type

About

JsonArgs is a module type. It's a script that contains the following placeholder <<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>> placeholder. During execution, Ansible will replace it with the module parameters.

Process / Dev

json_arguments = """<<INCLUDE_ANSIBLE_MODULE_JSON_ARGS>>"""
json_arguments = """{"param1": "test's quotes", "param2": "\"To be or not to be\" - Hamlet"}"""

The Json have the following spec:

Documentation / Reference