torque / torque.collections / 1.0.2 / module / export_torque_outputs Exports outputs to a .json file | "added in version" 1.0.0 of torque.collections" Authors: Torquetorque.collections.export_torque_outputs (1.0.2) — module
Install with ansible-galaxy collection install torque.collections:==1.0.2
collections: - name: torque.collections version: 1.0.2
This module allows collecting the playbook outputs and export them to a .json file, that Torque will use as the grain outputs.
- name: Export outputs torque.collections.export_torque_outputs: outputs: output1: "{{ result }}"
outputs: required: true type: dict