0.1.0 • Published 2 years ago

ubborg-playbookie-pmb v0.1.0

Weekly downloads
62
License
ISC
Repository
github
Last release
2 years ago

ubborg-playbookie-pmb

Translate ubborg dependency trees into ansible playbooks.

API

This module exports one function:

init(format, opts)

Returns a Promise for a translate function that has the API described below.

format is a supported input language specification (see "Input formats" below) and opts is an optional options object.

Currently, no options are supported.

translate(resDescr)

Returns a Promise for, or a string of, YAML code that can be used as an item in the tasks list of an ansible playbook to describe the resource described in resDescr.

Usage

CLI: ./bin/cli.mjs todo.json

:TODO:

Input formats

The input language is specified as an object which must have at least the name and version properties, both with a string value.

Currently supported languages:

  • name flatTodoJson (as generated by ubborg-planner-pmb's depsTree command), version 200509-0700.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

0.1.0

2 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.25

3 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.21

4 years ago

0.0.22

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago