0.1.3 • Published 1 year ago

ubborg-playbookie-pmb v0.1.3

Weekly downloads
62
License
ISC
Repository
github
Last release
1 year 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.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

3 years ago

0.0.39

4 years ago

0.0.38

5 years ago

0.0.37

5 years ago

0.0.36

5 years ago

0.0.35

5 years ago

0.0.32

5 years ago

0.0.33

5 years ago

0.0.31

5 years ago

0.0.30

5 years ago

0.0.29

5 years ago

0.0.28

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.21

5 years ago

0.0.22

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago