Code Monkey home page Code Monkey logo

stackhead-cli's People

Contributors

saitho avatar

Stargazers

 avatar

Watchers

 avatar  avatar

stackhead-cli's Issues

Autoload module Ansible Plugins

Ansible Plugins from StackHead modules should be autoloaded when using the StackHead CLI.
The paths should be set in a generated ansible.cfg file used for Ansible commands.

CLI installs StackHead into wrong directory

Running ./stackhead-cli init will not install StackHead to the actual Ansible collection location but inside the folder this command is called and replicate the structure there.

E.g. /home/mario/Workspace/projects/ /home/mario/.ansible/collections/ansible_collections
instead of /home/mario/.ansible/collections/ansible_collections

CLI wrapper

A CLI wrapper can make it easier to use StackHead, especially when modularity comes into play.
This would also allow to have a non-Ansible bound StackHead configuration file separate from the Ansible inventory.

Possible commands:

  • stackhead setup: Setup single server (server-provision.yml)
  • stackhead check: Check versions on a server (server-check.yml)
  • stackhead deploy: Deploy a single project (application-deploy.yml)
  • stackhead destroy: Destroy a single project (application-destroy.yml)
  • stackhead init: Initialize StackHead dependencies from StackHead configuration file
  • stackhead validate: Validate a project definition file

StackHead configuration file

Allows configuring the webserver and container to use.
Default values of those will be set on CLI level, removing the dependencies from the Ansible role.

Running stackhead init will install all requirements and roles. Requires Ansible to already be installed!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.