Skip to content

Module which gives TOSCA node type from Ansible role

Notifications You must be signed in to change notification settings

princessfruittt/milkyway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Milkyway 🌌

Milkyway is a TOSCA generator. It will help you to use OASIS TOSCA (Topology and Orchestration Specification for Cloud Applications) standard without knowledge of TOSCA. You only need to put URL link for Ansible Galaxy Role from Github or path to the directory and get ready CSAR Archive to use it in TOSCA Orchestrator.

Quick start

  • Require Go v16 and higher

Build

# if you have not got already installed golang -> check "realy quick start" section
go build
go install

Usage

milkyway help
## or milkyway -h, --help
milkyway generate -u [ansible_role_url] 
milkyway generate -p [ansible_role_path] -n [role_name]

Input

We get github url or path to a folder with role. You need make sure, that this role already worked, we are not magicians and could not correct Role errors.

├───files:
|   └──main.yaml
├───templates:
|   └──main.yaml
├───meta:
|   └──main.yaml
├───defaults:
|   └──main.yaml
├───vars:
|   └──main.yaml
├───tasks
|   ├───main.yaml
|   └──setup-Debian.yml
├───handlers
|   └──main.yaml

Output

Program generates CSAR archive with below structure:

|───TOSCA.meta
|
├───nodetypes:
|   └──main.yaml
├───artifactypes:
|   └──main.yaml
├───capabilitytypes:
|   └──main.yaml
├───definitions:
|   └──main.yaml
├───defaults:
|   └──main.yaml

After that you can use CSAR with another TOSCA tool

Really quick start 🌠

git clone https://github.com/princessfruittt/milkyway.git
cd milkyway
go build
go install

contacts:

📱 telegram: princessfruittt

📫 email: [email protected]

License

About

Module which gives TOSCA node type from Ansible role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages