serialize-ansible-tasks-output
v1.0.4
Published
This serializes the ansible log output tasks into an array
Downloads
9
Maintainers
Readme
serialize-ansible-tasks-output
Installation
npm install serialize-ansible-tasks-output
Usage
const { serializeTasksOutputs } = require("serialize-ansible-tasks-output");
const tasks = serializeTasksOutputs('YOUR_LOG_OUTPUT');
const failedTasks = tasks.filter(p => p.isError);
console.log({ failedTasks });